Go to your jenkins instance
paste and run it:
def proc = "ls -l".execute()
proc.waitFor()
def b = new StringBuffer()
proc.consumeProcessErrorStream(b)
println proc.exitValue() // print exit code
println proc.text // print output
Go to your jenkins instance
paste and run it:
def proc = "ls -l".execute()
proc.waitFor()
def b = new StringBuffer()
proc.consumeProcessErrorStream(b)
println proc.exitValue() // print exit code
println proc.text // print output
For further actions, you may consider blocking this person and/or reporting abuse
Donnelly Bentley -
Arjun Das -
Eduardo Gonzales -
Cong Li -
Top comments (0)