Skip to content

Instantly share code, notes, and snippets.

@ansig
Created February 1, 2018 09:15
Show Gist options
  • Save ansig/9c4086ac2eac984e585ae4019ee493c0 to your computer and use it in GitHub Desktop.
Save ansig/9c4086ac2eac984e585ae4019ee493c0 to your computer and use it in GitHub Desktop.
How to forcibly cancel Jenkins jobs that are hanging and cannot be cancelled
# To send cancel signal
<JENKINS>/job/<JOB>/<BUILD>/stop
# To send terminate signal
<JENKINS>/job/<JOB>/<BUILD>/term
# To send kill signal (will forcibly kill threads)
<JENKINS>/job/<JOB>/<BUILD>/kill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment