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

Cannot schedule Multibranch inside Folder mapped to a View

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It's complex, i know.

      I have a Folder with some Multibranch pipelines inside. This jobs are mapped to a View with "nested" to flatten folder contents.
      The generated schedule url is http://jenkins/job/<Folder>/job/<Branch>/schedule, but should be http://jenkins/job/<Folder>/job/<Multibranch>/job/<Branch>/schedule. It's missing the Multibranch configuration name.
      When I click the schedule action, it displays a 404 error.

       

        Attachments

          Activity

          Hide
          pingunaut Martin Spielmann added a comment -

          Seems to be a little too complex for me I tried around with multibranch jobs and folders, but wasn't able to reproduce the error. Could you describe in detail or screenshot how your view is configured?

          Show
          pingunaut Martin Spielmann added a comment - Seems to be a little too complex for me I tried around with multibranch jobs and folders, but wasn't able to reproduce the error. Could you describe in detail or screenshot how your view is configured?
          Hide
          pingunaut Martin Spielmann added a comment -

          Hi Bruno Meneguello

          if no further feedback will be provided until the end of the month, i'll close this issue as incomplete. If your problem still persists, please comment.

          Show
          pingunaut Martin Spielmann added a comment - Hi Bruno Meneguello if no further feedback will be provided until the end of the month, i'll close this issue as incomplete. If your problem still persists, please comment.
          Hide
          pingunaut Martin Spielmann added a comment -

          got no feedback

          Show
          pingunaut Martin Spielmann added a comment - got no feedback
          Hide
          enekogb Eneko Gonzalez added a comment - - edited

          Hi Martin Spielmann. I've just found this issue in my Jenkins instance. Steps to reproduce:

          1. Create a New View, call it "TestView" and choose "List View" type (haven't tested with other types)
          2. Select some pipeline jobs (they must be in subfolders, I haven't tested with jobs outside a folder). For example, one in the "admin/dockers_dcos" folder

          If you use the "Schedule Build" option in the dropdown menu (click on the arrow behind the job name), it works. The URL in the browser becomes:

          https://my.jenkins.url/view/TestView/job/admin/job/dockers_dcos/job/build_docker_dcos_push_nexus/schedule/

           But if you use the "Schedule Build" button on the right, you got a 404 error as the URL in the browser becomes:

          https://my.jenkins.url/view/TestView/job/build_docker_dcos_push_nexus/schedule/

          As you can see, the folder part is missing in the URL

           

          Show
          enekogb Eneko Gonzalez added a comment - - edited Hi Martin Spielmann . I've just found this issue in my Jenkins instance. Steps to reproduce: Create a New View, call it "TestView" and choose "List View" type (haven't tested with other types) Select some pipeline jobs (they must be in subfolders, I haven't tested with jobs outside a folder). For example, one in the "admin/dockers_dcos" folder If you use the "Schedule Build" option in the dropdown menu (click on the arrow behind the job name), it works. The URL in the browser becomes: https://my.jenkins.url/view/TestView/ job/admin /job/dockers_dcos /job/build_docker_dcos_push_nexus/schedule/  But if you use the "Schedule Build" button on the right, you got a 404 error as the URL in the browser becomes: https://my.jenkins.url/view/TestView/job/build_docker_dcos_push_nexus/schedule/ As you can see, the folder part is missing in the URL  

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            bkmeneguello Bruno Meneguello
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: