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

Branch and commit fields are empty in BlueOcean UI Header-details element

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: blueocean-plugin
    • Environment:
    • Similar Issues:

      Description

      We are using GitLab web hooks to trigger Jenkins Pipeline project builds on new commit push to GitLab. Build is triggered, CI commit status report is being sent back to gitlab, but can't see branch and commit field in Header-details element.

        Attachments

          Activity

          Hide
          ifishman Igor Fishman added a comment - - edited

          Hi,

          We also face same problem.

          Are there any plans to resolve this issue in close future?

          Regards,

          Igor

          Show
          ifishman Igor Fishman added a comment - - edited Hi, We also face same problem. Are there any plans to resolve this issue in close future? Regards, Igor
          Hide
          pauloneves Paulo Eduardo Neves added a comment - - edited

          Same here. I'd like to have it displaying branch and commit, and to be clickable so I can get to GitLab in the correct branch/commit. Here are the commands that I use to checkout from GitLab:

              checkout scm: [$class: 'GitSCM', 
                          userRemoteConfigs: [[url: repositorio]], 
                          branches: [[name: gitBranch]],
                          extensions: [
                             [$class: 'PreBuildMerge', options: [fastForwardMode: 'FF_ONLY', mergeRemote: 'origin', mergeTarget: branchTarget]],
                             [$class: 'LocalBranch',localBranch: branchTarget]
                          ],
                          clean: true], poll: false
          

          and also

              checkout scm: [$class: 'GitSCM', 
                           userRemoteConfigs: [[url: repositorio]], 
                           branches: [[name: gitBranch]],
                           extensions: [
                             [$class: 'LocalBranch',localBranch: gitBranch]
                           ],                  
                           clean: true], poll: false
          

          I don't believe it makes any difference, but I'm using declarative pipeline and the code is in another module in a helper function.

          Show
          pauloneves Paulo Eduardo Neves added a comment - - edited Same here. I'd like to have it displaying branch and commit, and to be clickable so I can get to GitLab in the correct branch/commit. Here are the commands that I use to checkout from GitLab: checkout scm: [$class: 'GitSCM' , userRemoteConfigs: [[url: repositorio]], branches: [[name: gitBranch]], extensions: [ [$class: 'PreBuildMerge' , options: [fastForwardMode: 'FF_ONLY' , mergeRemote: 'origin' , mergeTarget: branchTarget]], [$class: 'LocalBranch' ,localBranch: branchTarget] ], clean: true ], poll: false and also checkout scm: [$class: 'GitSCM' , userRemoteConfigs: [[url: repositorio]], branches: [[name: gitBranch]], extensions: [ [$class: 'LocalBranch' ,localBranch: gitBranch] ], clean: true ], poll: false I don't believe it makes any difference, but I'm using declarative pipeline and the code is in another module in a helper function.
          Hide
          trenchrats Marcel Wilson added a comment -

          I've noticed this when I use a single pipeline.  Using a multi-pipeline appears to work ok.

          Show
          trenchrats Marcel Wilson added a comment - I've noticed this when I use a single pipeline.  Using a multi-pipeline appears to work ok.
          Hide
          dmitry512tr Dmitry Mihailov added a comment -

          Me too. I just don't believe it should be that way... 

          Show
          dmitry512tr Dmitry Mihailov added a comment - Me too. I just don't believe it should be that way... 
          Hide
          trenchrats Marcel Wilson added a comment -

          Agreed.  I point it out in hopes that it helps identify the issue.

          Show
          trenchrats Marcel Wilson added a comment - Agreed.  I point it out in hopes that it helps identify the issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dmitry512tr Dmitry Mihailov
            Votes:
            11 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated: