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

Proper Multibranch pipeline support

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: java-client-api
    • Labels:
      None
    • Environment:
      Jenkins 2.60.1, Java client api 0.3.7
    • Similar Issues:

      Description

      Currently, the Java client api does not have proper support for Multibranch projects. Since these differ a bit from other types of jobs, how to use the Java client api's are not intuitive. The code base does not really take Multibranch projects in to account either. It would preferable if these could be supported out of the box with proper object models.

      The current workaround is to mimic the Multibranch job as a folder, such as:

      FolderJob multibranchRoot = new FolderJob(createdJob.getName(), jenkinsUrl + '/job/' + createdJob.getName() + '/')
      def job = jenkins.getJob(multibranchRoot, 'master')

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              khmarbaise Karl-Heinz Marbaise
              Reporter:
              tommysdk Tommy Tynjä
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: