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

Github webhook ignore "Github project" field (I.E. projectUrl)

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Minor Minor
    • github-plugin
    • Jenkins 1.623 from deb (Ubuntu Server 15.04)
      Github plugin 1.12.0

      When setting up a Project with "Build when a change is pushed to GitHub" enabled, the webhook handler use the source code repository url to match the github project is applies on and ignore the dedicated field "Github project" (I.E. projectUrl).

      I think this is not a wanted behavior as this field seems to be dedicated to this purpose.

      Additionally this prevent from creating jobs that does not checkout the repository but are still triggered by the github webhook

          [JENKINS-29827] Github webhook ignore "Github project" field (I.E. projectUrl)

          Félicien François created issue -
          Félicien François made changes -
          Environment New: Jenkins 1.623 from deb (Ubuntu Server 15.04)
          Github plugin 1.12.0
          Félicien François made changes -
          Summary Original: Github webhook ignore projectUrl field New: Github webhook ignore "Github project" field (I.E. projectUrl)
          Félicien François made changes -
          Description Original: When setting up a Project with "Build when a change is pushed to GitHub" enabled, the webhook handler use the source code repository url to match the github project is applies on and ignore the dedicated field "Github project" (I.E. projectUrl).

          I think this is not a wanted behavior as this field seems to be dedicated to this purpose.

          Additionally this prevent creating jobs that does not checkout the repository (or checkout another repository) but are triggered by the github webhook
          New: When setting up a Project with "Build when a change is pushed to GitHub" enabled, the webhook handler use the source code repository url to match the github project is applies on and ignore the dedicated field "Github project" (I.E. projectUrl).

          I think this is not a wanted behavior as this field seems to be dedicated to this purpose.

          Additionally this prevent from creating jobs that does not checkout the repository but are still triggered by the github webhook
          Kirill Merkushev made changes -
          Assignee Original: Kanstantsin Shautsou [ integer ] New: Kirill Merkushev [ lanwen ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 164904 ] New: JNJira + In-Review [ 181732 ]
          Kanstantsin Shautsou made changes -
          Resolution New: Incomplete [ 4 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            lanwen Kirill Merkushev
            felicienfrancois Félicien François
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: