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

Updating podTemplate does not immediately come into effect.

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When updating a PodTemplate (specifically a containerTemplate) through a jenkinsfile change, the change is not immediately put into effect.

      This seems to be some kind of caching issue, in older versions you could see this through the "Configure System" which would have the old template still populated. Is it especially apparent when someone is on a branch improving the build , but "old" template builds are still happening on master with the same label. In this situation it seems a bit of a race condition as to which version is picked up in the job.

      Workaround;
      We have resorted to changing the template label to force a cache bust. e.i
      label: 'GitPod1' ... label: 'GitPod2' etc. which works reliably.

      P.S Finally getting around to recording some bugs that I have known about for a while, sorry for the spam

        Attachments

          Issue Links

            Activity

            larslawoko Lars Lawoko created issue -
            larslawoko Lars Lawoko made changes -
            Field Original Value New Value
            Link This issue is duplicated by JENKINS-48635 [ JENKINS-48635 ]
            csanchez Carlos Sanchez made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            csanchez Carlos Sanchez made changes -
            Link This issue is duplicated by JENKINS-49568 [ JENKINS-49568 ]
            csanchez Carlos Sanchez made changes -
            Assignee Carlos Sanchez [ csanchez ] Vincent Latombe [ vlatombe ]
            csanchez Carlos Sanchez made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]

              People

              Assignee:
              vlatombe Vincent Latombe
              Reporter:
              larslawoko Lars Lawoko
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: