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

get "DockerComputerJNLPLauncher has no property workDirSettings" when creating new job in jenkins 2.72

    XMLWordPrintable

    Details

    • Similar Issues:

      Attachments

        Issue Links

          Activity

          Hide
          maksonlee Makson Lee added a comment -

          sorry, i guess i created the issue against wrong project.

          Show
          maksonlee Makson Lee added a comment - sorry, i guess i created the issue against wrong project.
          Hide
          maksonlee Makson Lee added a comment -

          okay, i have changed the project to right one.

          Show
          maksonlee Makson Lee added a comment - okay, i have changed the project to right one.
          Hide
          marcwrobel Marc Wrobel added a comment -

          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).

           

          Show
          marcwrobel Marc Wrobel added a comment - 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).  
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          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.

          Show
          oleg_nenashev Oleg Nenashev added a comment - 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.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          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

          Show
          oleg_nenashev Oleg Nenashev added a comment - 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
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          core/src/main/java/hudson/slaves/JNLPLauncher.java
          core/src/main/resources/hudson/slaves/JNLPLauncher/config.jelly
          http://jenkins-ci.org/commit/jenkins/6ed7c7f1d00caa21bfd8e43d34140bf66b579f5f
          Log:
          [FIXED JENKINS-45895] - JNLPLauncher config.jelly should not display Work Dir settings when included from other class

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: core/src/main/java/hudson/slaves/JNLPLauncher.java core/src/main/resources/hudson/slaves/JNLPLauncher/config.jelly http://jenkins-ci.org/commit/jenkins/6ed7c7f1d00caa21bfd8e43d34140bf66b579f5f Log: [FIXED JENKINS-45895] - JNLPLauncher config.jelly should not display Work Dir settings when included from other class
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          The Jenkins core patch has been released in 2.73

          Show
          oleg_nenashev Oleg Nenashev added a comment - The Jenkins core patch has been released in 2.73

            People

            • Assignee:
              oleg_nenashev Oleg Nenashev
              Reporter:
              maksonlee Makson Lee
            • Votes:
              5 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: