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

Github multibranch: GitHub Webhook is not created right after saving the job

    • Pipeline - December

      I am observing the following behavior:

      1.- Fresh installation, installing latest version of Pipeline, GitHub plugin and GitHub Branch Source Plugin

      2.- Manage Jenkins > Configuring GitHub plugin: Credentials of an Owner of a Organization which hosts a Repo X

      3.- New Pipeline Multibranch Item pointing to Repo X, after saving the job the webhook in GitHub is not automatically generated (vs. GitHub Organization Folder item which is done)

      4.- Manage Jenkins > GitHub plugin > Advanced > Re-register hooks for all jobs > webhook in GitHub is finally generated
       
      What I am reporting: I'd expect the webhook in GitHub is automatically generated right after the saving the Pipeline Multibranch Branch but it does not it until I click on Re-register hooks for all jobs (GitHub plugin)

          [JENKINS-48035] Github multibranch: GitHub Webhook is not created right after saving the job

          Carlos Rodríguez López created issue -
          Carlos Rodríguez López made changes -
          Description Original: I am observing the following behavior:

          1.- Fresh installation

          2.- Manage Jenkins > Configuring GitHub plugin: Credentials of an Owner of a Repo

          3.- New Pipeline Multibranch Item, after saving the job the webhook in GitHub is not automatically generated (vs. GitHub Organization Folder item which is done)

          4.- Manage Jenkins > GitHub plugin > Advanced > Re-register hooks for all jobs > webhook in GitHub is generated
           
          What I am reporting: I'd expect the webhook in GitHub is automatically generated right after the saving the Pipeline Multibranch Branch but it does not until I click on Re-register hooks for all jobs (GitHub plugin)
          New: I am observing the following behavior:

          1.- Fresh installation, installing latest version of Pipeline

          2.- Manage Jenkins > Configuring GitHub plugin: Credentials of an Owner of a Repo

          3.- New Pipeline Multibranch Item, after saving the job the webhook in GitHub is not automatically generated (vs. GitHub Organization Folder item which is done)

          4.- Manage Jenkins > GitHub plugin > Advanced > Re-register hooks for all jobs > webhook in GitHub is generated
           
          What I am reporting: I'd expect the webhook in GitHub is automatically generated right after the saving the Pipeline Multibranch Branch but it does not until I click on Re-register hooks for all jobs (GitHub plugin)
          Carlos Rodríguez López made changes -
          Description Original: I am observing the following behavior:

          1.- Fresh installation, installing latest version of Pipeline

          2.- Manage Jenkins > Configuring GitHub plugin: Credentials of an Owner of a Repo

          3.- New Pipeline Multibranch Item, after saving the job the webhook in GitHub is not automatically generated (vs. GitHub Organization Folder item which is done)

          4.- Manage Jenkins > GitHub plugin > Advanced > Re-register hooks for all jobs > webhook in GitHub is generated
           
          What I am reporting: I'd expect the webhook in GitHub is automatically generated right after the saving the Pipeline Multibranch Branch but it does not until I click on Re-register hooks for all jobs (GitHub plugin)
          New: I am observing the following behavior:

          1.- Fresh installation, installing latest version of Pipeline, GitHub plugin and

          2.- Manage Jenkins > Configuring GitHub plugin: Credentials of an Owner of a Repo

          3.- New Pipeline Multibranch Item, after saving the job the webhook in GitHub is not automatically generated (vs. GitHub Organization Folder item which is done)

          4.- Manage Jenkins > GitHub plugin > Advanced > Re-register hooks for all jobs > webhook in GitHub is generated
           
          What I am reporting: I'd expect the webhook in GitHub is automatically generated right after the saving the Pipeline Multibranch Branch but it does not until I click on Re-register hooks for all jobs (GitHub plugin)
          Carlos Rodríguez López made changes -
          Description Original: I am observing the following behavior:

          1.- Fresh installation, installing latest version of Pipeline, GitHub plugin and

          2.- Manage Jenkins > Configuring GitHub plugin: Credentials of an Owner of a Repo

          3.- New Pipeline Multibranch Item, after saving the job the webhook in GitHub is not automatically generated (vs. GitHub Organization Folder item which is done)

          4.- Manage Jenkins > GitHub plugin > Advanced > Re-register hooks for all jobs > webhook in GitHub is generated
           
          What I am reporting: I'd expect the webhook in GitHub is automatically generated right after the saving the Pipeline Multibranch Branch but it does not until I click on Re-register hooks for all jobs (GitHub plugin)
          New: I am observing the following behavior:

          1.- Fresh installation, installing latest version of Pipeline, GitHub plugin and GitHub Branch Source Plugin

          2.- Manage Jenkins > Configuring GitHub plugin: Credentials of an Owner of a Repo

          3.- New Pipeline Multibranch Item, after saving the job the webhook in GitHub is not automatically generated (vs. GitHub Organization Folder item which is done)

          4.- Manage Jenkins > GitHub plugin > Advanced > Re-register hooks for all jobs > webhook in GitHub is generated
           
          What I am reporting: I'd expect the webhook in GitHub is automatically generated right after the saving the Pipeline Multibranch Branch but it does not until I click on Re-register hooks for all jobs (GitHub plugin)
          Carlos Rodríguez López made changes -
          Description Original: I am observing the following behavior:

          1.- Fresh installation, installing latest version of Pipeline, GitHub plugin and GitHub Branch Source Plugin

          2.- Manage Jenkins > Configuring GitHub plugin: Credentials of an Owner of a Repo

          3.- New Pipeline Multibranch Item, after saving the job the webhook in GitHub is not automatically generated (vs. GitHub Organization Folder item which is done)

          4.- Manage Jenkins > GitHub plugin > Advanced > Re-register hooks for all jobs > webhook in GitHub is generated
           
          What I am reporting: I'd expect the webhook in GitHub is automatically generated right after the saving the Pipeline Multibranch Branch but it does not until I click on Re-register hooks for all jobs (GitHub plugin)
          New: I am observing the following behavior:

          1.- Fresh installation, installing latest version of Pipeline, GitHub plugin and GitHub Branch Source Plugin

          2.- Manage Jenkins > Configuring GitHub plugin: Credentials of an Owner of a Organization which

          3.- New Pipeline Multibranch Item, after saving the job the webhook in GitHub is not automatically generated (vs. GitHub Organization Folder item which is done)

          4.- Manage Jenkins > GitHub plugin > Advanced > Re-register hooks for all jobs > webhook in GitHub is generated
           
          What I am reporting: I'd expect the webhook in GitHub is automatically generated right after the saving the Pipeline Multibranch Branch but it does not until I click on Re-register hooks for all jobs (GitHub plugin)
          Carlos Rodríguez López made changes -
          Description Original: I am observing the following behavior:

          1.- Fresh installation, installing latest version of Pipeline, GitHub plugin and GitHub Branch Source Plugin

          2.- Manage Jenkins > Configuring GitHub plugin: Credentials of an Owner of a Organization which

          3.- New Pipeline Multibranch Item, after saving the job the webhook in GitHub is not automatically generated (vs. GitHub Organization Folder item which is done)

          4.- Manage Jenkins > GitHub plugin > Advanced > Re-register hooks for all jobs > webhook in GitHub is generated
           
          What I am reporting: I'd expect the webhook in GitHub is automatically generated right after the saving the Pipeline Multibranch Branch but it does not until I click on Re-register hooks for all jobs (GitHub plugin)
          New: I am observing the following behavior:

          1.- Fresh installation, installing latest version of Pipeline, GitHub plugin and GitHub Branch Source Plugin

          2.- Manage Jenkins > Configuring GitHub plugin: Credentials of an Owner of a Organization which hosts a Repo X

          3.- New Pipeline Multibranch Item pointing to Repo X, after saving the job the webhook in GitHub is not automatically generated (vs. GitHub Organization Folder item which is done)

          4.- Manage Jenkins > GitHub plugin > Advanced > Re-register hooks for all jobs > webhook in GitHub is finally generated
           
          What I am reporting: I'd expect the webhook in GitHub is automatically generated right after the saving the Pipeline Multibranch Branch but it does not it until I click on Re-register hooks for all jobs (GitHub plugin)

          Alex Simenduev added a comment - - edited

          I'm experiencing exactly same issue. I'm adding jobs via Blueocean UI which creates "Pipeline Multibranch" jobs. And I don't see webhooks configured, even after initial manual build.

          Once I go to "Manage Jenkins > Configure System > GitHub plugin > Advanced > Re-register hooks for all jobs"  Webhooks get created.

          How this can  be solved? What I'm doing wrong?

           

           

          Alex Simenduev added a comment - - edited I'm experiencing exactly same issue. I'm adding jobs via Blueocean UI which creates " Pipeline Multibranch " jobs. And I don't see webhooks configured, even after initial manual build. Once I go to " Manage Jenkins > Configure System > GitHub plugin > Advanced > Re-register hooks for all jobs "  Webhooks get created. How this can  be solved? What I'm doing wrong?    
          Michael Neale made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Michael Neale made changes -
          Assignee New: rsandell [ rsandell ]

          Michael Neale added a comment -

          shamil this is a bug somehow (a regression). 

          Michael Neale added a comment - shamil this is a bug somehow (a regression). 

            rsandell rsandell
            carlosrodlop Carlos Rodríguez López
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: