I was able to stop work by sending a POST request: http://jenkins.fqdn:8080/job/$JobName/branch/$BranchName/8/term (Note the variables $ JobName and $ BranchName)
I found this URI by doing the following:
- Click on the number next to the task to go to that exact task.
- Click the "Output Console" link.
- Right-click the "Click here to force shutdown" link.
- Select the "Inspect" menu item. (This is in Chrome, configure this step for your preferred browser)
- Copy the URI from the Ajax.Request call. For example:
onclick="new Ajax.Request(' http://jenkins.fqdn:8080/job/$JobName/branch/$BranchName/8/term '); false"
For some reason, clicking the Click here to forcibly terminate running steps link did not actually complete the job, but manually sent an email request. I suspect this is just a small error in the user interface code.
source share