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

Build Now link on MultiJob page doesn't work

    XMLWordPrintable

Details

    Description

      1. Create a MultiJob Project
      2. click on it to view it
      3. Click Build Now link

      (nothing happens, no errors)

      The URL of the link is something like

      http://hostname:8080/view/TAB1/view/TAB2/job/My-MultiJob/build?delay=0sec

      If I click on the "Schedule a Build" icon, with a URL like:

      http://hostname:8080/job/My-MultiJob/build?delay=0sec

      it works OK.

      If I go up to the parent View and click on the "Schedule a Build" icon with a URL like:

      http://hostname:8080/view/TAB1/view/TAB2/job/My-MultiJob/build?delay=0sec

      It works OK. (appears to be the same URL that doesn't work from a the first link).

      Attachments

        Issue Links

          Activity

            idapperdanman David Ishee added a comment -

            If I use the 'b' keystroke, I get this message:

            You must use POST method to trigger builds. (From scripts you may instead pass a per-project authentication token, or authenticate with your API token.) If you see this page, it may be because a plugin offered a GET link; file a bug report for that plugin.

            idapperdanman David Ishee added a comment - If I use the 'b' keystroke, I get this message: You must use POST method to trigger builds. (From scripts you may instead pass a per-project authentication token, or authenticate with your API token.) If you see this page, it may be because a plugin offered a GET link; file a bug report for that plugin.
            jglick Jesse Glick added a comment -

            Actually a bug in core which just happens to get triggered only by the multijob plugin.

            jglick Jesse Glick added a comment - Actually a bug in core which just happens to get triggered only by the multijob plugin.

            Code changed in jenkins
            User: Jesse Glick
            Path:
            changelog.html
            core/src/main/resources/hudson/model/AbstractProject/sidepanel.jelly
            core/src/main/resources/hudson/views/BuildButtonColumn/column.jelly
            core/src/main/resources/lib/layout/confirmationLink.jelly
            core/src/main/resources/lib/layout/task.jelly
            http://jenkins-ci.org/commit/jenkins/3c01366e0bc5c3e8de23eb7337e8c3e4dbd7843c
            Log:
            [FIXED JENKINS-16974] Unsafe to define a function in <script> without a generated name, as it could clash with functions defined in unrelated *.jelly that happen to included in the same page.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/resources/hudson/model/AbstractProject/sidepanel.jelly core/src/main/resources/hudson/views/BuildButtonColumn/column.jelly core/src/main/resources/lib/layout/confirmationLink.jelly core/src/main/resources/lib/layout/task.jelly http://jenkins-ci.org/commit/jenkins/3c01366e0bc5c3e8de23eb7337e8c3e4dbd7843c Log: [FIXED JENKINS-16974] Unsafe to define a function in <script> without a generated name, as it could clash with functions defined in unrelated *.jelly that happen to included in the same page.
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #2595
            [FIXED JENKINS-16974] Unsafe to define a function in <script> without a generated name, as it could clash with functions defined in unrelated *.jelly that happen to included in the same page. (Revision 3c01366e0bc5c3e8de23eb7337e8c3e4dbd7843c)

            Result = SUCCESS
            Jesse Glick : 3c01366e0bc5c3e8de23eb7337e8c3e4dbd7843c
            Files :

            • core/src/main/resources/hudson/views/BuildButtonColumn/column.jelly
            • core/src/main/resources/hudson/model/AbstractProject/sidepanel.jelly
            • core/src/main/resources/lib/layout/task.jelly
            • changelog.html
            • core/src/main/resources/lib/layout/confirmationLink.jelly
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2595 [FIXED JENKINS-16974] Unsafe to define a function in <script> without a generated name, as it could clash with functions defined in unrelated *.jelly that happen to included in the same page. (Revision 3c01366e0bc5c3e8de23eb7337e8c3e4dbd7843c) Result = SUCCESS Jesse Glick : 3c01366e0bc5c3e8de23eb7337e8c3e4dbd7843c Files : core/src/main/resources/hudson/views/BuildButtonColumn/column.jelly core/src/main/resources/hudson/model/AbstractProject/sidepanel.jelly core/src/main/resources/lib/layout/task.jelly changelog.html core/src/main/resources/lib/layout/confirmationLink.jelly

            Code changed in jenkins
            User: Jesse Glick
            Path:
            core/src/main/resources/hudson/views/BuildButtonColumn/column.jelly
            http://jenkins-ci.org/commit/jenkins/b01861a44afa70150f39dff49a3d908c0acb9380
            Log:
            JENKINS-16974 3c01366 was backported as eff76c7 but the merge conflict was incorrectly resolved.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/resources/hudson/views/BuildButtonColumn/column.jelly http://jenkins-ci.org/commit/jenkins/b01861a44afa70150f39dff49a3d908c0acb9380 Log: JENKINS-16974 3c01366 was backported as eff76c7 but the merge conflict was incorrectly resolved.

            People

              jglick Jesse Glick
              idapperdanman David Ishee
              Votes:
              7 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: