Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to go about seeing the branch name of builds in the build history view of Jenkins?

I installed the Feature Branch Notifier Plugin in my instance of Jenkins.

I have checked the "Show full length branch name in the build history view" checkbox at jenkins:8080/configure

I am expecting to see the branch names in build history view, but even after restarting Jenkins I am not seeing the branch names in the build history, as can be seen in the enclosed image.

enter image description here

The project issue queue lists no open issues, and when I try to log in to post an issue, I get the message "Proxy Error - The proxy server received an invalid response from an upstream server. The proxy server could not handle the request POST /account/doSignup. Reason: Error reading from remote server Apache/2.2.14 (Ubuntu) Server at jenkins-ci.org Port 443"

Does anyone know how to go about seeing the branch name of builds in the build history view of Jenkins? Thanks!

Albert.

like image 801
alberto56 Avatar asked Feb 03 '15 17:02

alberto56


People also ask

How do I change my Jenkins build name?

For a Jenkins declarative pipeline one can add script { currentBuild. displayName = ${VARIABLE} } to change the build name.

How do I list Git branches dynamically in Jenkins pipeline job?

If you want to be able to dynamically give a Git branch to use in a Jenkins build then you'll need to do a couple of things. Then, in your Pipeline configuration, under Branches to build, add your parameter name inside the Branch Specifier box, surrounded by ${} .

How do I see pipelines in Jenkins?

Step 4) Go to your Jenkins dashboard and create a view by clicking on the “+” button. Select the Build Pipeline View option and click OK. Step 5) Under Pipeline view configuration, locate Pipeline Flow. Under Pipeline flow, select the initial job to run.


1 Answers

You can use Build Name Setter Plugin, and set Set Build Name something like #${BUILD_NUMBER} - ${GIT_BRANCH}.

Build Name Setter Plugin

like image 163
Michael Hsu Avatar answered Sep 19 '22 08:09

Michael Hsu