Jenkins.NET icon indicating copy to clipboard operation
Jenkins.NET copied to clipboard

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

Open MindaugasLaganeckas opened this issue 4 years ago • 0 comments

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.

MindaugasLaganeckas avatar Nov 26 '20 12:11 MindaugasLaganeckas