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

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • blueocean-plugin

      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.

          [JENKINS-54365] Branch and commit fields are empty in BlueOcean UI Header-details element

          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

          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

          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.

          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.

          Marcel Wilson added a comment -

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

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

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

          Dmitry Mihailov added a comment - Me too. I just don't believe it should be that way... 

          Marcel Wilson added a comment -

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

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

            Unassigned Unassigned
            dmitry512tr Dmitry Mihailov
            Votes:
            13 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: