Command console
java -jar jenkins-cli.jar -s http://192.168.0.70:8899/jenkins/ -webSocket console JOB [BUILD] [-f] [-n N]
Produces the console output of a specific build to stdout, as if you are doing 'cat build.log'
JOB : Name of the job
BUILD : Build number or permalink to point to the build. Defaults to the last
build (default: lastBuild)
-f : If the build is in progress, stay around and append console output as
it comes, like 'tail -f' (default: false)
-n N : Display the last N lines (default: -1)