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

Blue Ocean showing Shared Library commit hash instead of job commit hash

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Component/s: blueocean-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.46.2
      Blue Ocean 1.0.1
      Pipeline: Shared Groovy Libraries 2.8
      GitHub Organization Folder Plugin 1.6
    • Similar Issues:

      Description

      Attached first screenshot shows `Commit: 0218506` in the top bar. That commit is in fact the version of the Jenkins Shared Library that was used during that build. As you can see from the General SCM logs the actual commit that was built was `ce4b605`.

      Second screenshot displays the commit part of `Branches` view. All of the branches display the Jenkins shared library hash instead of the latest hash from that git branch.

      This has caused some general confusion among our developers and they're currently instructed to either check the actual hash from the logs or from the `X changes` screen that is also in the top bar and which seems to show the actual commits that have been added in this build.All jobs are using `Github Organization` and have the shared libraries configured under `Pipeline Libraries` -> `Modern SCM` -> Github.

        Attachments

          Issue Links

            Activity

            errnoh Erno Hopearuoho created issue -
            Hide
            jamesdumay James Dumay added a comment -

            Erno Hopearuoho good news - we've already fixed this as part of JENKINS-42809 and will be included in Blue Ocean 1.1 which is due for release very shortly

            Show
            jamesdumay James Dumay added a comment - Erno Hopearuoho good news - we've already fixed this as part of JENKINS-42809 and will be included in Blue Ocean 1.1 which is due for release very shortly
            jamesdumay James Dumay made changes -
            Field Original Value New Value
            Link This issue duplicates JENKINS-42809 [ JENKINS-42809 ]
            jamesdumay James Dumay made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Duplicate [ 3 ]
            Hide
            xy_alan Alan Yang added a comment -

            I have still same problem in Blue Ocean 1.1.7.

            Show
            xy_alan Alan Yang added a comment - I have still same problem in Blue Ocean 1.1.7.
            xy_alan Alan Yang made changes -
            Attachment Screen Shot 2017-08-15 at 15.54.27.png [ 39274 ]
            Attachment Screen Shot 2017-08-15 at 15.55.24.png [ 39275 ]
            xy_alan Alan Yang made changes -
            Attachment Screen Shot 2017-08-15 at 15.54.27.png [ 39274 ]
            xy_alan Alan Yang made changes -
            Hide
            jamesdumay James Dumay added a comment -

            Alan Yang can you please raise a new ticket with some reproduction instructions?

            Show
            jamesdumay James Dumay added a comment - Alan Yang can you please raise a new ticket with some reproduction instructions?
            Hide
            xy_alan Alan Yang added a comment -

            James Dumay The new ticket is JENKINS-46222.

            Show
            xy_alan Alan Yang added a comment - James Dumay The new ticket is  JENKINS-46222 .
            jamesdumay James Dumay made changes -
            Link This issue relates to JENKINS-46222 [ JENKINS-46222 ]
            jbriden Jenn Briden made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                errnoh Erno Hopearuoho
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: