multibranch pipeline job notified by github, but repo scan finds "No changes detected"

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Hi, i have a case where a jenkins multibranch build job was notified about a change, but did not detect the change and therefore did not build.
      The attached file github_webhook_payload.json contains the full payload that was send to jenkins.

      imho the most interesting part is this:

        "ref": "refs/heads/master",
        "before": "aac98c4d843ba4cf53b7fc375b7eb301337d65ec",
        "after": "9e25b9d14d2405e5b8c77d27d15e3ea7b19fa251",
      

      From this screenshot one can see that the request to jenkins was made at 20:33.

      The problem was that i assumed that the issue fix was build and pushed the issue forward.
      Then today, the dev got his issue back with "IT failed" and we found out, that it was only build this forenoon.

      When I opened https://jenkins.metasfresh.com/job/metasfresh-webui/indexing/events today, i found the following in the log:

      [Tue Feb 21 20:34:05 CET 2017] Received org.jenkinsci.plugins.github_branch_source.PushGHEventSubscriber$SCMHeadEventImpl UPDATED event from 192.30.252.42 ⇒ http://jenkins.metasfresh.com:47832/github-webhook/ with timestamp Tue Feb 21 20:34:00 CET 2017
      Connecting to https://api.github.com using metas-dev/******
      Looking up metasfresh/metasfresh-webui
      
        Getting remote branches...
      
          Checking branch master
            ‘Jenkinsfile’ found
          Met criteria
      No changes detected: master (still at aac98c4d843ba4cf53b7fc375b7eb301337d65ec)
      
      Done examining metasfresh/metasfresh-webui
      
      [Tue Feb 21 20:34:07 CET 2017] org.jenkinsci.plugins.github_branch_source.PushGHEventSubscriber$SCMHeadEventImpl UPDATED event from 192.30.252.42 ⇒ http://jenkins.metasfresh.com:47832/github-webhook/ with timestamp Tue Feb 21 20:34:00 CET 2017 processed in 2,5 sec
      

      I'm also attaching the job's config.xml file.

      Please let me know if i can provide further into.

      PS: I did not modify the jobs config, so i don't see a releation to issue 14855.

        1. config.xml
          3 kB
          Tobias Schoeneberg
        2. github_webhook_payload.json
          9 kB
          Tobias Schoeneberg
        3. image-2017-02-22-14-57-31-769.png
          36 kB
          Tobias Schoeneberg
        4. installed_plugins.xml
          48 kB
          Tobias Schoeneberg

            Assignee:
            Stephen Connolly
            Reporter:
            Tobias Schoeneberg
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: