Skip to content

Need a way to kill a job #668

Open
Open
@natsen

Description

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]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions