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.
The check
!string.IsNullOrEmpty(buildItem?.Result)exits the
whilestatement inJenkins.Net/Utilities/JenkinsJobRunner.cs:227on the first finished stage of the job, but not when the whole job is complete.We propose to check the flag
Buildinginstead.