Git notifyCommit polling not triggered with Parameterized Build variable in Repository URL

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Polling will not trigger when the Git Repository URL has a variable that is set by Parameterized Build plugin.

      Step to reproduce:
      1. Create Freestyle Job
      2. Set "This project is parameterized"
      3. Add String parameter named `PROJECT` with default value of your git project name
      4. Set the Git Repository URL to expand that variable, ex:

       git_user@git.example.com:${PROJECT}.git 

      5. Enable Poll SCM in the Build Triggers with no schedule
      6. Save the project and do a push to the repository

      Results:

      • Expected: job is triggered with default Parameterized Build values
      • Actual: the job is not triggered

      Related:
      https://issues.jenkins-ci.org/browse/JENKINS-26315 (same issue for global variables)
      https://issues.jenkins-ci.org/browse/JENKINS-27692 (github plugin had same issue)
      https://issues.jenkins-ci.org/browse/JENKINS-9686 (mercurial had same issue)

      https://issues.jenkins-ci.org/browse/JENKINS-14276 (branch variable on polling)
      https://issues.jenkins-ci.org/browse/JENKINS-20427 (branch variable on polling)

            Assignee:
            Unassigned
            Reporter:
            Paul Eipper
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: