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

Github commit status doesn't work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Not A Defect
    • Component/s: github-plugin
    • Labels:
    • Environment:
    • Similar Issues:

      Description

        Attachments

          Issue Links

            Activity

            Hide
            lanwen Kirill Merkushev added a comment -

            You have different sha on screenshot. This plugin can set commit status only on commits in branches of this repo. So it didn't work on PRs without additional magic

            Show
            lanwen Kirill Merkushev added a comment - You have different sha on screenshot. This plugin can set commit status only on commits in branches of this repo. So it didn't work on PRs without additional magic
            Hide
            tilorn Alexey Belaytzev added a comment -

            Sorry my mistake. Github plugin in "Console Output" displays link to merge on github instead of github commit.

            Console Output:
            ...
            Setting commit status on GitHub for https://github.com/SmartCrowd/Monitoring/commit/30b42207656fd2341276e916cad73b9181b4f9cc
            ...

            Merge on github:

            Commit in this merge on github:

            System Log Jenkins:

            jan 28, 2016 10:00:02 AM INFO org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber onEvent
            Received POST for https://github.com/Company/Repository
            jan 28, 2016 10:00:02 AM INFO org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber$1 run
            Poked Jenkins-Build-Name
            jan 28, 2016 10:00:02 AM INFO org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber$1 run
            Poked Server-Name
            jan 28, 2016 10:01:40 AM INFO org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber onEvent
            Received POST for https://github.com/Company/Repository
            jan 28, 2016 10:01:40 AM INFO org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber$1 run
            Poked Jenkins-Build-Name
            jan 28, 2016 10:01:40 AM INFO org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber$1 run
            Poked Server-Name
            jan 28, 2016 10:01:42 AM INFO com.cloudbees.jenkins.GitHubPushTrigger$1 run
            SCM changes detected in Jenkins-Build-Name. Triggering #53
            jan 28, 2016 10:02:12 AM INFO hudson.model.Run execute
            Jenkins-Build-Name #53 main build action completed: SUCCESS

            Show
            tilorn Alexey Belaytzev added a comment - Sorry my mistake. Github plugin in "Console Output" displays link to merge on github instead of github commit. Console Output: ... Setting commit status on GitHub for https://github.com/SmartCrowd/Monitoring/commit/30b42207656fd2341276e916cad73b9181b4f9cc ... Merge on github: Commit in this merge on github: System Log Jenkins: jan 28, 2016 10:00:02 AM INFO org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber onEvent Received POST for https://github.com/Company/Repository jan 28, 2016 10:00:02 AM INFO org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber$1 run Poked Jenkins-Build-Name jan 28, 2016 10:00:02 AM INFO org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber$1 run Poked Server-Name jan 28, 2016 10:01:40 AM INFO org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber onEvent Received POST for https://github.com/Company/Repository jan 28, 2016 10:01:40 AM INFO org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber$1 run Poked Jenkins-Build-Name jan 28, 2016 10:01:40 AM INFO org.jenkinsci.plugins.github.webhook.subscriber.DefaultPushGHEventSubscriber$1 run Poked Server-Name jan 28, 2016 10:01:42 AM INFO com.cloudbees.jenkins.GitHubPushTrigger$1 run SCM changes detected in Jenkins-Build-Name. Triggering #53 jan 28, 2016 10:02:12 AM INFO hudson.model.Run execute Jenkins-Build-Name #53 main build action completed: SUCCESS
            Hide
            lanwen Kirill Merkushev added a comment -

            All your logs provided is about hooks, not the status.
            You can check that GH set status on commit with GH status api with something like curl or directly in the browser.

            Can't help with current info provided.

            Show
            lanwen Kirill Merkushev added a comment - All your logs provided is about hooks, not the status. You can check that GH set status on commit with GH status api with something like curl or directly in the browser. Can't help with current info provided.
            Hide
            tilorn Alexey Belaytzev added a comment - - edited

            I don`t now what happend, must be GH repair bug, but all works fine today. I never change in build jenkins.

            Show
            tilorn Alexey Belaytzev added a comment - - edited I don`t now what happend, must be GH repair bug, but all works fine today. I never change in build jenkins.

              People

              Assignee:
              lanwen Kirill Merkushev
              Reporter:
              tilorn Alexey Belaytzev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: