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
Lorenzo Bradanini -
Rahul Kumar Barnwal -
Nozibul Islam -
Josef Nobach -
Top comments (0)