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

Build environment not persisting for jobs on restart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins: v2.73
      Job Configuration History Plugin: v2.16
      Master OS: Amazon Linux AMI release 2017.03
      Slave OS: Amazon Linux AMI release 2017.09

      When I restart my Jenkins master server I have noticed that the Build Environment config for any jobs that have had that section updated since the last restart disappear, such as pre-SCM buildsteps and Artifactory dependency resolution. 

      I've tagged the Job Config History plugin as I've been using it to track the history of the files and whether the lost config can be easily restored, but bizarrely the config in question is nowhere to be found in any of those previous versions despite it being added and saved successfully before the last restart. 

      This appears to affect multiple project types; I've observed it in both Maven and Freestyle jobs.

       

       

            stefanbrausch Stefan Brausch
            bleloch Leo Brookes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: