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

Docker template environment variables forgotten when saving config

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • docker-plugin
    • None
    • docker-plugin 1.0.4 & 1.1
      Jenkins 2.73.2 & 2.73.3

      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.

          [JENKINS-47852] Docker template environment variables forgotten when saving config

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

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

              Created:
              Updated:
              Resolved: