Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62921

Jenkins restart after running all the Job steps is passed causing Job failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Blocker Blocker
    • _unsorted
    • None
    • Jenkins Version: 2.190.3

      Hi,

      Appreciate your fast response in the below issue:

      • We have an issue with a downstream job that is getting triggered as part of another job.We have noticed that usually the error shows when when multiple builds are triggered and there is a queue.The Job is marked as finished and then we faces the below error that Jenkins is restarting  and program.dat file is not found. (Jenkins however is not restarted so that is incorrect)
        The examples show that we have this error in both success and failure scenarios.
      • We have as well added the "disableConcurrentBuilds()" and "disableResume()" in our Jenkins file but with no worth.

       
      Finished: SUCCESS
      Resuming build at Wed Jul 01 04:56:16 UTC 2020 after Jenkins restart
      ....
      java.io.FileNotFoundException: /var/jenkins_home/jobs/xxx/branches/xxx/builds/xxx/program.dat (No such file or directory
       
      Finished: FAILURE
      Resuming build at Wed Jul 01 08:30:59 UTC 2020 after Jenkins restart
      ....
      java.io.FileNotFoundException: /var/jenkins_home/jobs/xxx/branches/xxx/builds/xxx/program.dat (No such file or directory)

            Unassigned Unassigned
            mayarselim Mayar Selim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: