-
Task
-
Resolution: Fixed
-
Major
-
None
-
docker-plugin 1.0.4 & 1.1
Jenkins 2.73.2 & 2.73.3
To reproduce:
- Visit /configure
- Add a Docker Cloud
- Add a Docker Agent Template
- Under "Node Properties", choose "Environment variables"
- Create an environment variable
- Press "Apply" to save the config
- Reload the page
- Navigate to the Docker Agent Template
- 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.
- links to
...which leads to the effect, that when saving the config the next time, the environment variable config is lost. Same applies for the tool configuration for this template.
This leads to a lot of failed builds and renders the Docker plugin unusable for us
Edit: Increased severity to "Major", as it's a Major loss of function and there's no easy workaround (re-entering all Tool paths every time is not feasible).