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
Ashutosh Sarangi -
jmbharathram -
Roberson Miguel -
Fronteiras da Engenharia de Software -
Top comments (0)