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

Github orgnization commit trigger to build pipeline is not working through scm polling

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Commit trigger to Pipeline job using github-webhook is not working.

      503- response in the hook.

        Attachments

        1. Webhook_error.png
          Webhook_error.png
          152 kB
        2. GitHub_error.png
          GitHub_error.png
          108 kB
        3. buildtrigger.PNG
          buildtrigger.PNG
          33 kB

          Activity

          Hide
          anurag_1997 Anurag Srivastava added a comment -

          Trying to integrate Jenkins pipeline job with GitHub enterprise through 'github-webhook'.

          Steps:

          1- Create webhook in our GitHub Repo. ex: http://xxxxxxx.india.xorg.com:8080/github-webhook/ (push)

          2- Create Jenkins pipeline Project.

             i- In General section select GitHub project and provide Project SSH URL. ex: git@github.yorg.com:xyz/abc-test/

            ii- In Build Trigger section select "GitHub hook trigger for GITScm polling". Even tried with Poll SCM for 1minute, its not able to check the changed log of github repo.

            iii- In Pipeline section, tried with both "Pipeline script" and "Pipeline script from SCM".

           

          Response, error:503


          Notification codes:  (1, DNS_FAIL, sys_name.india.xorg.com)
          Show
          anurag_1997 Anurag Srivastava added a comment - Trying to integrate Jenkins pipeline job with GitHub enterprise through 'github-webhook'. Steps: 1- Create webhook in our GitHub Repo. ex:  http://xxxxxxx.india.xorg.com:8080/github-webhook/  (push) 2- Create Jenkins pipeline Project.    i- In General section select GitHub project and provide Project SSH URL. ex: git@github.yorg.com:xyz/abc-test/   ii- In Build Trigger section select "GitHub hook trigger for GITScm polling". Even tried with Poll SCM for 1minute, its not able to check the changed log of github repo.   iii- In Pipeline section, tried with both "Pipeline script" and "Pipeline script from SCM".   Response, error:503 Notification codes:  (1, DNS_FAIL, sys_name.india.xorg.com)
          Hide
          kishore_1269 Kishore Babu Kavuru added a comment -

          Thanks anurag your comments would be helpful.

          Hi Mark Waite, please let us know if require any further information. Thanks in advance. 

          Show
          kishore_1269 Kishore Babu Kavuru added a comment - Thanks anurag your comments would be helpful. Hi Mark Waite, please let us know if require any further information. Thanks in advance. 
          Hide
          markewaite Mark Waite added a comment -

          HTTP 503 is used to indicate that a service is down. I assume that 503 is what was reported by your GitHub server. If so, then check that your GitHub enterprise server can resolve the DNS name of the computer you listed as sys_name.india.xorg.com. If the 503 was reported by the Jenkins server, then check that your Jenkins server can resolve the DNS name of the computer you listed as sys_name.india.xorg.com.

          These types of questions are best handled as questions in the user mailing list or in one of the chat systems, not as bug reports. It is not a Jenkins bug that the DNS server in your organization cannot resolve a particular hostname.

          Show
          markewaite Mark Waite added a comment - HTTP 503 is used to indicate that a service is down. I assume that 503 is what was reported by your GitHub server. If so, then check that your GitHub enterprise server can resolve the DNS name of the computer you listed as sys_name.india.xorg.com . If the 503 was reported by the Jenkins server, then check that your Jenkins server can resolve the DNS name of the computer you listed as sys_name.india.xorg.com . These types of questions are best handled as questions in the user mailing list or in one of the chat systems, not as bug reports. It is not a Jenkins bug that the DNS server in your organization cannot resolve a particular hostname.
          Hide
          kishore_1269 Kishore Babu Kavuru added a comment -

          Yes, I think we are on the same page 503 is reported by Github server webhook only. let me confirm on my understanding if Jenkins is on 'xorg' intranet only and not resolved on Github 'yorg' DNS server this issue persists.

          But I'm facing a similar issue when both the Jenkins and Github are on the same 'yorg' intranet (DNS resolved), it's throwing a 'timeout' response on Github-webhook.

          Show
          kishore_1269 Kishore Babu Kavuru added a comment - Yes, I think we are on the same page 503 is reported by Github server webhook only. let me confirm on my understanding if Jenkins is on 'xorg' intranet only and not resolved on Github 'yorg' DNS server this issue persists. But I'm facing a similar issue when both the Jenkins and Github are on the same 'yorg' intranet (DNS resolved), it's throwing a 'timeout' response on Github-webhook.
          Hide
          kishore_1269 Kishore Babu Kavuru added a comment -

          github-webhook throghs 307 response code "(1, SERVER_NAME_EXPANSION, , xyz_system_name)"

          Show
          kishore_1269 Kishore Babu Kavuru added a comment - github-webhook throghs 307 response code "(1, SERVER_NAME_EXPANSION, , xyz_system_name)"
          Hide
          kishore_1269 Kishore Babu Kavuru added a comment - - edited

          Seriously we are seeking for help, we don't find any other platform for QnA. thanks for your patience.

          Show
          kishore_1269 Kishore Babu Kavuru added a comment - - edited Seriously we are seeking for help, we don't find any other platform for QnA. thanks for your patience.
          Hide
          markewaite Mark Waite added a comment -

          Please refer to https://jenkins.io/mailing-lists/ for the mailing lists.

          Please refer to https://jenkins.io/chat/ for the chat channels.

          You're asking for help in a forum that is monitored by very few people (mostly me, maybe 3-5 others). When you ask for help in the mailing lists, you're asking for help from a forum that is read by many, many more people. When you ask for help in the chat channels, you're asking for help in a forum that is read by many more people.

          You'll get better results from a request for help in forums that are designed to provide help because

          • there are more people available in those places to help you
          • there are broader experiences in those places
          Show
          markewaite Mark Waite added a comment - Please refer to https://jenkins.io/mailing-lists/ for the mailing lists. Please refer to https://jenkins.io/chat/ for the chat channels. You're asking for help in a forum that is monitored by very few people (mostly me, maybe 3-5 others). When you ask for help in the mailing lists, you're asking for help from a forum that is read by many, many more people. When you ask for help in the chat channels, you're asking for help in a forum that is read by many more people. You'll get better results from a request for help in forums that are designed to provide help because there are more people available in those places to help you there are broader experiences in those places

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            kishore_1269 Kishore Babu Kavuru
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: