Hello!

The current build of a job is shown in the "Build History" of Jenkins. The 
progress bar there worked for my builds until Jenkins 2.91 - then it 
stopped working and now it shows only a dummy progress bar with the tooltip 
"Estimated Remaining Time: N/A". But the Stage View continues to show the 
correct time.

<https://lh3.googleusercontent.com/-M2hAc1iW17I/WmiETkatFzI/AAAAAAAAAEk/KitvBCqeha8Pi3I6ePsMzxmgkmbKrblfgCLcBGAs/s1600/jenkins-progress-bar.png>


As far as I can track down the problem, there is a class hudson.Executor. 
When my job is started it is catched directly in line 431 
<https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/Executor.java#L431>
 
(AsynchronousExecution) and afterwards the "N/A" duration is set in line 462 
<https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/Executor.java#L462>
.

My Jenkinsfile looks something like
node {
    try {
        stageUpdateProject()
        
        docker.build('build-environment', "--pull .").inside() {
           // test, build, deploy ...
        }
    } finally {
        sendStatusMail()
    }
}


Does anyone have the same issue or can give me a hint what I could do?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b4db2af6-7727-4468-b5c4-de5994efc531%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to