Skip to content

how to pause/resume build? #96

@denglitong

Description

@denglitong

i use pipeline, and i can see left-sdie button Pause/Resume which trigger api /job/${job_name}/${build_num}/pause/toggle to do pause/resume action, my question is, how can i distinguish the status the build is pausing or is resuming(that is running without pause). i do much search but found nothing about it, i even goto https://javadoc.jenkins.io/hudson/model/Run.html to read the method releated, but i cannot found the answer yet, here i beleive the api above must can known whether status of build right now whether is pausing or not, here i want to get the status, any response is appreciated, thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions