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

No page found '/hudson/plugins/promoted_builds_simple/PromotedBuildSelector/config.jelly

    Details

    • Similar Issues:

      Description

      Occurs when loading configuration page for any job that copies based on promotion.
      Error page is appended to bottom of page.
      Config page remains disabled and in unusable.

      Workaround: edit config on disk and reload job.

      javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.611.jar!/lib/form/dropdownDescriptorSelector.jelly:60:78: <st:include> No page found '/hudson/plugins/promoted_builds_simple/PromotedBuildSelector/config.jelly' for class hudson.plugins.copyartifact.SimpleBuildSelectorDescriptor
      at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:103)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      ...
      Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.611.jar!/lib/form/dropdownDescriptorSelector.jelly:60:78: <st:include> No page found '/hudson/plugins/promoted_builds_simple/PromotedBuildSelector/config.jelly' for class hudson.plugins.copyartifact.SimpleBuildSelectorDescriptor
      at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:124)
      ...

        Attachments

          Issue Links

            Activity

            Hide
            ikedam ikedam added a comment -

            Steps to reproduce:

            • Install copyartifact-1.35.1, promoted-builds-simple
            • Create a new free style project
            • Add Copy artifacts from another project, and select "Latest promoted build" for "Which build"
              • At this point, the exception happens in the background and the configuration for "Latest promoted build" is not shown.
            • Save the configuration
            • Reopen the configuration page.

            Cause

            Show
            ikedam ikedam added a comment - Steps to reproduce: Install copyartifact-1.35.1, promoted-builds-simple Create a new free style project Add Copy artifacts from another project, and select "Latest promoted build" for "Which build" At this point, the exception happens in the background and the configuration for "Latest promoted build" is not shown. Save the configuration Reopen the configuration page. Cause Introduced in copyartifact 1.35.1, JENKINS-28094 , https://github.com/jenkinsci/copyartifact-plugin/pull/63 https://github.com/jenkinsci/copyartifact-plugin/blob/copyartifact-1.35/src/main/resources/hudson/plugins/copyartifact/selectorList.jelly#L61 <st:include page= "config.jelly" class= "${bsDescriptor.clazz}" optional= "${ true }" /> is replaced to https://github.com/jenkinsci/jenkins/blob/jenkins-1.617/core/src/main/resources/lib/form/dropdownDescriptorSelector.jelly#L60 <st:include from= "${descriptor}" page= "${descriptor.configPage}" /> This causes Jenkins fails to load the configuration fragment from plugins other than copyartifact-plugin. Any plugins using SimpleBuildSelectorDescriptor will be affected with this problem.
            Hide
            ikedam ikedam added a comment -

            Please downgrade to copyartifact-1.35 for now.
            I'll try to fix that and make a new release of copyartifact plugin.

            Show
            ikedam ikedam added a comment - Please downgrade to copyartifact-1.35 for now. I'll try to fix that and make a new release of copyartifact plugin.
            Show
            ikedam ikedam added a comment - https://github.com/jenkinsci/copyartifact-plugin/pull/66
            Hide
            tom_ghyselinck Tom Ghyselinck added a comment -

            Hi ikedam,

            We just bumped into this issue.

            When will the next release of the plugin be available?

            Show
            tom_ghyselinck Tom Ghyselinck added a comment - Hi ikedam , We just bumped into this issue. When will the next release of the plugin be available?
            Hide
            ikedam ikedam added a comment -

            I'll make a new release this weekend.

            Show
            ikedam ikedam added a comment - I'll make a new release this weekend.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: ikedam
            Path:
            src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testSimpleBuildSelectorDescriptorInOtherPlugin/config.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testSimpleBuildSelectorDescriptorInOtherPlugin/jobs/ExtendingSimpleBuildSelectorDescriptorSelector/config.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testSimpleBuildSelectorDescriptorInOtherPlugin/jobs/NoConfigPageSimpleBuildSelectorDescriptorSelector/config.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testSimpleBuildSelectorDescriptorInOtherPlugin/jobs/UsingSimpleBuildSelectorDescriptorSelector/config.xml
            src/test/resources/plugins/README.md
            src/test/resources/plugins/copyartifact-extension-test.hpi
            http://jenkins-ci.org/commit/copyartifact-plugin/e4f0b5dd46a03394cd4053a3d137789669c90fe0
            Log:
            JENKINS-28972 Added tests to reproduce JENKINS-28972, fails to load configuration pages when SimpleBuildSelectorDescriptor is used in other plugins.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testSimpleBuildSelectorDescriptorInOtherPlugin/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testSimpleBuildSelectorDescriptorInOtherPlugin/jobs/ExtendingSimpleBuildSelectorDescriptorSelector/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testSimpleBuildSelectorDescriptorInOtherPlugin/jobs/NoConfigPageSimpleBuildSelectorDescriptorSelector/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testSimpleBuildSelectorDescriptorInOtherPlugin/jobs/UsingSimpleBuildSelectorDescriptorSelector/config.xml src/test/resources/plugins/README.md src/test/resources/plugins/copyartifact-extension-test.hpi http://jenkins-ci.org/commit/copyartifact-plugin/e4f0b5dd46a03394cd4053a3d137789669c90fe0 Log: JENKINS-28972 Added tests to reproduce JENKINS-28972 , fails to load configuration pages when SimpleBuildSelectorDescriptor is used in other plugins.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: ikedam
            Path:
            src/main/java/hudson/plugins/copyartifact/SimpleBuildSelectorDescriptor.java
            src/main/resources/hudson/plugins/copyartifact/SimpleBuildSelectorDescriptor/config.jelly
            http://jenkins-ci.org/commit/copyartifact-plugin/37881e0ace00949137d7ba053208df360640c230
            Log:
            [FIXED JENKINS-28972] Workaround to make SimpleBuildSelectorDescriptor usable from other plugins.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/hudson/plugins/copyartifact/SimpleBuildSelectorDescriptor.java src/main/resources/hudson/plugins/copyartifact/SimpleBuildSelectorDescriptor/config.jelly http://jenkins-ci.org/commit/copyartifact-plugin/37881e0ace00949137d7ba053208df360640c230 Log: [FIXED JENKINS-28972] Workaround to make SimpleBuildSelectorDescriptor usable from other plugins.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: ikedam
            Path:
            src/main/java/hudson/plugins/copyartifact/SimpleBuildSelectorDescriptor.java
            src/main/resources/hudson/plugins/copyartifact/SimpleBuildSelectorDescriptor/config.jelly
            src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testSimpleBuildSelectorDescriptorInOtherPlugin/config.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testSimpleBuildSelectorDescriptorInOtherPlugin/jobs/ExtendingSimpleBuildSelectorDescriptorSelector/config.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testSimpleBuildSelectorDescriptorInOtherPlugin/jobs/NoConfigPageSimpleBuildSelectorDescriptorSelector/config.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testSimpleBuildSelectorDescriptorInOtherPlugin/jobs/UsingSimpleBuildSelectorDescriptorSelector/config.xml
            src/test/resources/plugins/README.md
            src/test/resources/plugins/copyartifact-extension-test.hpi
            http://jenkins-ci.org/commit/copyartifact-plugin/4a6c542e5b6d2cc4eecf4eb07d6f5e4e4754f2d6
            Log:
            Merge pull request #66 from ikedam/feature/JENKINS-28972_FixSimpleBuildSelectorDescriptor

            JENKINS-28972 Make SimpleBuildSelectorDescriptor usable from other plugins

            Compare: https://github.com/jenkinsci/copyartifact-plugin/compare/fab46fd7c8b9...4a6c542e5b6d

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/hudson/plugins/copyartifact/SimpleBuildSelectorDescriptor.java src/main/resources/hudson/plugins/copyartifact/SimpleBuildSelectorDescriptor/config.jelly src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testSimpleBuildSelectorDescriptorInOtherPlugin/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testSimpleBuildSelectorDescriptorInOtherPlugin/jobs/ExtendingSimpleBuildSelectorDescriptorSelector/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testSimpleBuildSelectorDescriptorInOtherPlugin/jobs/NoConfigPageSimpleBuildSelectorDescriptorSelector/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testSimpleBuildSelectorDescriptorInOtherPlugin/jobs/UsingSimpleBuildSelectorDescriptorSelector/config.xml src/test/resources/plugins/README.md src/test/resources/plugins/copyartifact-extension-test.hpi http://jenkins-ci.org/commit/copyartifact-plugin/4a6c542e5b6d2cc4eecf4eb07d6f5e4e4754f2d6 Log: Merge pull request #66 from ikedam/feature/ JENKINS-28972 _FixSimpleBuildSelectorDescriptor JENKINS-28972 Make SimpleBuildSelectorDescriptor usable from other plugins Compare: https://github.com/jenkinsci/copyartifact-plugin/compare/fab46fd7c8b9...4a6c542e5b6d
            Hide
            ikedam ikedam added a comment -

            Fixed with copyartifact-1.35.2.
            It will be available in a day.
            Please try that.

            Show
            ikedam ikedam added a comment - Fixed with copyartifact-1.35.2. It will be available in a day. Please try that.

              People

              • Assignee:
                ikedam ikedam
                Reporter:
                jameshowe James Howe
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: