Skip to content

The check if job is running returns prematurely in a multistage build #37

@MindaugasLaganeckas

Description

@MindaugasLaganeckas

The check
!string.IsNullOrEmpty(buildItem?.Result)
exits the
while statement in Jenkins.Net/Utilities/JenkinsJobRunner.cs:227 on the first finished stage of the job, but not when the whole job is complete.

We propose to check the flag Building instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions