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

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

XMLWordPrintable

    • 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.

        1. Screen Shot 2017-05-15 at 12.50.32.png
          55 kB
          Erno Hopearuoho
        2. Screen Shot 2017-05-15 at 13.07.14.png
          22 kB
          Erno Hopearuoho
        3. Screen Shot 2017-08-15 at 15.53.06.png
          28 kB
          Alan Yang
        4. Screen Shot 2017-08-15 at 15.55.24.png
          225 kB
          Alan Yang

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

              Created:
              Updated:
              Resolved: