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

Git SCM-polling doesn't work when using a parametrized branch-name

    Details

    • Similar Issues:

      Description

      Setup:

      • Git Plugin 1.1.20
      • a parameterized build with parameter "Branch", default "**"
      • Git SCM with branch specifier "${Branch}"
      • SCM polling activated

      Intended behaviour:

      • if any branch changes, Jenkins checks out and builds this branch
      • when executed manually, the user enters the name of the branch to be built

      Actual behaviour:

      • no changes are detected (because the "${Branch}" value isn't resolved when polling)

        Attachments

          Issue Links

            Activity

            martoe Martin E created issue -
            martoe Martin E made changes -
            Field Original Value New Value
            Attachment JENKINS-14276.patch [ 22068 ]
            martoe Martin E made changes -
            Description Setup:
            - Git Plugin 1.1.20
            - a parameterized build with parameter "Branch", default "**"
            - Git SCM with branch specifier "${Branch}"
            - SCM polling activated

            Intended behaviour:
            - if _any_ branch changes, Jenkins checkous out and builds this branch
            - when executed manually, the user enters the name of the branch to be built

            Actual behaviour:
            - no changes are detected (brcause the "${Branch}" value isn't resolved when polling)

            Setup:
            - Git Plugin 1.1.20
            - a parameterized build with parameter "Branch", default "**"
            - Git SCM with branch specifier "$\{Branch\}"
            - SCM polling activated

            Intended behaviour:
            - if _any_ branch changes, Jenkins checks out and builds this branch
            - when executed manually, the user enters the name of the branch to be built

            Actual behaviour:
            - no changes are detected (because the "$\{Branch\}" value isn't resolved when polling)
            ndeloof Nicolas De Loof made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Won't Fix [ 2 ]
            aaronlab aaronlab made changes -
            Resolution Won't Fix [ 2 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            markewaite Mark Waite made changes -
            Status Reopened [ 4 ] Open [ 1 ]
            markewaite Mark Waite made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            klundgren Kristofer Lundgren made changes -
            Resolution Fixed [ 1 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            Assignee Nicolas De Loof [ ndeloof ] Mark Waite [ markewaite ]
            markewaite Mark Waite made changes -
            Status Reopened [ 4 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            sirianni Eric Sirianni made changes -
            Link This issue is related to JENKINS-8335 [ JENKINS-8335 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 144908 ] JNJira + In-Review [ 205968 ]

              People

              • Assignee:
                markewaite Mark Waite
                Reporter:
                martoe Martin E
              • Votes:
                12 Vote for this issue
                Watchers:
                22 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: