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

Branch option while creating new Git pipeline from blue ocean dashboard

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major Major
    • blueocean-plugin
    • None
    • Jenkins 2.61
      Blue Ocean 1.0.1

      Hi Team,

      While creating a new GIT Pipeline through the BLUE-OCEAN Dashboard, we don't see any option to specify repository branches.

      By default the pipeline job scans all the branches available into the repository.

      It would be great to have an option to specify a regex based branch selection option.

      This will be beneficial for projects having numerous branches with Jenkinsfile.

          [JENKINS-44404] Branch option while creating new Git pipeline from blue ocean dashboard

          James Dumay added a comment - - edited

          gargmukku07 is that because you do not wish to build all branches when you recreate a Jenkinsfile?

          BTW we are planning to allow users to set the branch pattern via a new UI as part of JENKINS-40211

          James Dumay added a comment - - edited gargmukku07 is that because you do not wish to build all branches when you recreate a Jenkinsfile? BTW we are planning to allow users to set the branch pattern via a new UI as part of JENKINS-40211

          Mukul Garg added a comment -

          jamesdumay Yes! you are absolutely correct.

          In the mentioned feature request JENKINS-40211, are we planning to include the same feature for GIT as the attached screenshot only mentions GITHUB?

          Mukul Garg added a comment - jamesdumay Yes! you are absolutely correct. In the mentioned feature request JENKINS-40211 , are we planning to include the same feature for GIT as the attached screenshot only mentions GITHUB?

          James Dumay added a comment -

          gargmukku07 its unlikely that we are going to add an option here for users to specify the branch filter option during the creation flow however I think we can probably work in a way to only build your master branch initially then have you optionally enable branching after creating as part of JENKINS-40211.

          James Dumay added a comment - gargmukku07 its unlikely that we are going to add an option here for users to specify the branch filter option during the creation flow however I think we can probably work in a way to only build your master branch initially then have you optionally enable branching after creating as part of JENKINS-40211 .

            Unassigned Unassigned
            gargmukku07 Mukul Garg
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: