Skip to content

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

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.

Activity

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

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