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

Git branch sources configuration UI missing context help, or documentation link

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Help context and documentation is missing from the "Branch Source" configuration UI, making it unclear what data some fields expect. Specifically, the "Include Branches" and "Exclude Branches" fields are ambiguous. e.g. Do they support comma or space separated lists, or do they support globs or regular expressions?

        Attachments

          Issue Links

            Activity

            Hide
            pertel Rasmus Jensen added a comment -

            Have had problems with this also, specifically the "Exclude Branches" field.
            The documentation for pipeline states:

            Exclude branches - a regular expression to specify branches to exclude; note that this will takes precedence over the contents of include expressions

            However to exclude multiple branches (stable and master), the only thing that worked for me was space separated words: "stable master", which is not what i would expect from reading the documentation.

            Jenkins ver: 2.15
            Pipeline plugin ver: 2.2
            Pipeline multibranch plugin ver: 2.8

            Show
            pertel Rasmus Jensen added a comment - Have had problems with this also, specifically the "Exclude Branches" field. The documentation for pipeline states: Exclude branches - a regular expression to specify branches to exclude; note that this will takes precedence over the contents of include expressions However to exclude multiple branches (stable and master), the only thing that worked for me was space separated words: "stable master", which is not what i would expect from reading the documentation. Jenkins ver: 2.15 Pipeline plugin ver: 2.2 Pipeline multibranch plugin ver: 2.8
            Hide
            nmhnmh nathan hitchman added a comment -

            I am unable to include or exclude more than one branch whatever I put.

            Show
            nmhnmh nathan hitchman added a comment - I am unable to include or exclude more than one branch whatever I put.
            Hide
            raoel Raoel Oomen added a comment -

            The notation is different (far more basic) than other SCM-configuration.
            This was enough for me to get running:

            feature/* release/* master
            
            Show
            raoel Raoel Oomen added a comment - The notation is different (far more basic) than other SCM-configuration. This was enough for me to get running: feature/* release/* master
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/main/resources/jenkins/plugins/git/GitSCMSource/help-credentialsId.html
            src/main/resources/jenkins/plugins/git/GitSCMSource/help-excludes.html
            src/main/resources/jenkins/plugins/git/GitSCMSource/help-gitTool.html
            src/main/resources/jenkins/plugins/git/GitSCMSource/help-ignoreOnPushNotifications.html
            src/main/resources/jenkins/plugins/git/GitSCMSource/help-includes.html
            src/main/resources/jenkins/plugins/git/GitSCMSource/help-rawRefSpecs.html
            src/main/resources/jenkins/plugins/git/GitSCMSource/help-remote.html
            src/main/resources/jenkins/plugins/git/GitSCMSource/help-remoteName.html
            http://jenkins-ci.org/commit/git-plugin/e62f5b630816b0aa0e4f3620b475dd9a7159cce1
            Log:
            [FIXED JENKINS-36327] Add help files for GitSCMSource

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/resources/jenkins/plugins/git/GitSCMSource/help-credentialsId.html src/main/resources/jenkins/plugins/git/GitSCMSource/help-excludes.html src/main/resources/jenkins/plugins/git/GitSCMSource/help-gitTool.html src/main/resources/jenkins/plugins/git/GitSCMSource/help-ignoreOnPushNotifications.html src/main/resources/jenkins/plugins/git/GitSCMSource/help-includes.html src/main/resources/jenkins/plugins/git/GitSCMSource/help-rawRefSpecs.html src/main/resources/jenkins/plugins/git/GitSCMSource/help-remote.html src/main/resources/jenkins/plugins/git/GitSCMSource/help-remoteName.html http://jenkins-ci.org/commit/git-plugin/e62f5b630816b0aa0e4f3620b475dd9a7159cce1 Log: [FIXED JENKINS-36327] Add help files for GitSCMSource

              People

              • Assignee:
                stephenconnolly Stephen Connolly
                Reporter:
                dbeckham Daniel Beckham
              • Votes:
                8 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: