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

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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • Jenkins 2.46.2
      Blue Ocean 1.0.1
      Pipeline: Shared Groovy Libraries 2.8
      GitHub Organization Folder Plugin 1.6

      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.

          [JENKINS-44265] Blue Ocean showing Shared Library commit hash instead of job commit hash

          James Dumay added a comment -

          errnoh 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

          James Dumay added a comment - errnoh 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

          Alan Yang added a comment -

          I have still same problem in Blue Ocean 1.1.7.

          Alan Yang added a comment - I have still same problem in Blue Ocean 1.1.7.

          James Dumay added a comment -

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

          James Dumay added a comment - xy_alan can you please raise a new ticket with some reproduction instructions?

          Alan Yang added a comment -

          jamesdumay The new ticket is JENKINS-46222.

          Alan Yang added a comment - jamesdumay The new ticket is  JENKINS-46222 .

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

              Created:
              Updated:
              Resolved: