Status: Resolved (View Workflow)
- is duplicated by
JENKINS-45956 Manage Config throws exception on Docker Plugin
- links to
A similar error is raised when accessing the main configuration page (/configure). The error occurs while rendering the following part of the page : Cloud > Docker > Images > Docker Template. See the stacktrace in configure.log.
This error appeared after upgrading to jenkins 2.72. It completely breaks the main configuration page (it seems the page stops rendering after the error).
Yes, it is a regression after
JENKINS-44112. It seems the Docker Plugin uses the form layout provided by the core. And the layout has changed. I will investigate it.
Yes, it happens in the Docker Plugin due to the invalid include: https://github.com/jenkinsci/docker-plugin/blob/master/docker-plugin/src/main/resources/com/nirima/jenkins/plugins/docker/launcher/DockerComputerJNLPLauncher/config.jelly#L8
I checked other such risks:
- Yet Another Docker Plugin: safe, custom implementation
- Spotinst Plugin - safe, no config.jelly
- JCloudsJnlpLauncher - safe, no config.jelly
- VMwareLauncher - safe, custom implementation without include
- MesosComputerLauncher - safe, no config.jelly
I also see a closed-source plugin using the include pattern similar to DockerComputerJNLPLauncher. I will see if I can prevent it in the core instead of fixing plugins
Code changed in jenkins
User: Oleg Nenashev
[FIXED JENKINS-45895] - JNLPLauncher config.jelly should not display Work Dir settings when included from other class
sorry, i guess i created the issue against wrong project.