Watch / print jenkins job output. Works on in-progress or finished jobs.
- Get your Jenkins User ID (not what you think it is!)
- Click on your name
- Copy the "Jenkins User ID"
- Get your jenkins API key from jenkins settings
- Click on your name
- Click configure on the left
- Click "Add new token" in the API Token section
- Save the token somewhere safe
- Set JENKINS_KEY to your api key, and JENKINS_USER to your user ID
- Copy the job URL
- Run the command as so:
jw $JOB_URL- You may need to use the
-kflag if your certificate isn't in the system store
- You may need to use the