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

Docker template environment variables forgotten when saving config

    Details

    • Type: Task
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: docker-plugin
    • Labels:
      None
    • Environment:
      docker-plugin 1.0.4 & 1.1
      Jenkins 2.73.2 & 2.73.3
    • Similar Issues:

      Description

      To reproduce:

      1. Visit /configure
      2. Add a Docker Cloud
      3. Add a Docker Agent Template
      4. Under "Node Properties", choose "Environment variables"
      5. Create an environment variable
      6. Press "Apply" to save the config
      7. Reload the page
      8. Navigate to the Docker Agent Template
      9. See that the environment variable defined has disappeared

      Expected:

      The environment variable is retained when loading the global configuration.

       

      Environment variables are saved correctly when using the plugin, and appear in the created Docker containers as expected — they just don't re-appear when editing the global configuration.

        Attachments

          Issue Links

            Activity

            orrc Christopher Orr created issue -
            fxnn Felix Neumann made changes -
            Field Original Value New Value
            Priority Minor [ 4 ] Major [ 3 ]
            fxnn Felix Neumann made changes -
            Remote Link This issue links to "GitHub Issue #553 (Web Link)" [ 18114 ]
            ndeloof Nicolas De Loof made changes -
            Status Open [ 1 ] Closed [ 6 ]
            Resolution Fixed [ 1 ]
            adam_kosseck Adam Kosseck made changes -
            Resolution Fixed [ 1 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            adam_kosseck Adam Kosseck made changes -
            Environment docker-plugin 1.0.4
            Jenkins 2.73.2
            docker-plugin 1.0.4 & 1.1
            Jenkins 2.73.2 & 2.73.3
            ndeloof Nicolas De Loof made changes -
            Status Reopened [ 4 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]

              People

              • Assignee:
                ndeloof Nicolas De Loof
                Reporter:
                orrc Christopher Orr
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: