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

Editing Jenkins config during build causes ephemeral podTemplate to become persistent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • kubernetes-plugin
    • None
    • Jenkins 2.77
      kubernetes plugin 1.0

      1. In /configure, I have a "default" podTemplate defined.
      2. I have a job that uses declarative syntax. When it runs, it evidently creates an ephemeral podTemplate with the same name as its label.
      3. While that job is running, if I open /configure, this ephemeral podTemplate shows up in the list. Then I make an unrelated change and hit the Save button.
      4. Once the build finishes, I can open /configure again and the formerly ephemeral podTemplate for that specific job is still there.
      5. If I change the config in the Jenkinsfile for that job, I think the persistent podTemplate silently overrides it.

            csanchez Carlos Sanchez
            cjyar cjyar
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: