Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a way to kill a job #668

Open
natsen opened this issue Feb 4, 2022 · 0 comments
Open

Need a way to kill a job #668

natsen opened this issue Feb 4, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@natsen
Copy link

natsen commented Feb 4, 2022

Is your feature request related to a problem? Please describe.
In a pipeline job that contains blocking running steps (such as build) jcli stop would not terminate the build. need a jcli kill option to abort running pipeline steps and terminate the build forcibly.
Describe the solution you'd like
jenkins job has a kill api that does this- {jenkins_url)/job/(build_number)/kill
would like a jcli job kill <buildnumber> that uses this api to Hard kill the build.
Describe alternatives you've considered
Alternative is to post to the {jenkins_url)/job/(build_number)/kill api.
Additional context
using jcli job stop does the following without terminating the build.
Aborted by xxx
[Click here to forcibly terminate running steps]

@natsen natsen added the enhancement New feature or request label Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant