Jenkins.NET
Jenkins.NET copied to clipboard
The check if job is running returns prematurely in a multistage build
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.