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
Eshat Jubayer -
Avesh -
Gajanan Rajput -
AIRabbit -
Top comments (0)