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

Jenkins build link in Github PR points to stale build

    XMLWordPrintable

Details

    Description

      We have integrated our jenkins pipeline with github using GitHub plugin.

      At times, build details link in Status section in github shows some stale build.

      Current link I get in github is similar to

      https://<pipeline_name>/job/<application>/job/PR-1/1/display/redirect

      Example:

      Latest build in PR-1 is 5, expected link is 

      https://<pipeline_name>/job/<application>/job/PR-1/5/display/redirect**

      But we get the following link

      https://<pipeline_name>/job/<application>/job/PR-1/3/display/redirect

      And status of build is shown as 'Failed' in Github UI. This is happening for some of the builds.

      Also, how can I test what status data is sent from Jenkins to github from my jenkins instance?

      Attachments

        Activity

          People

            imeredith Ivan Meredith
            jna Jyoti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: