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

Webhooks do not work if using parameter in git address

    • Icon: Improvement Improvement
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • github-plugin
    • None
    • Windows 2012 server, Git for windows

      If parameters are used to define the Repository URL, web hooks are not triggered.

      Here is what the log looks like

      Adding GitHub webhooks for [GitHubRepository[host=github.com,username=MyOrg,repository=${CC_GIT}]]
      Mar 31, 2015 10:05:06 PM INFO com.cloudbees.jenkins.GitHubWebHook processGitHubPayload
      Received POST for https://github.com/MyOrg/MyProject

          [JENKINS-27692] Webhooks do not work if using parameter in git address

          Project url must be static, this is PROJECT configuration and it has no variables. Variables appears only during build.

          Kanstantsin Shautsou added a comment - Project url must be static, this is PROJECT configuration and it has no variables. Variables appears only during build.

          Ah, found related issue JENKINS-26886

          Kanstantsin Shautsou added a comment - Ah, found related issue JENKINS-26886

          Not all variables are available for expansion.

          Kanstantsin Shautsou added a comment - Not all variables are available for expansion.

            Unassigned Unassigned
            swestner stephen westner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: