Patryk
Patryk

Reputation: 24092

How to put build cause data into build list on jenkins?

I have the following build list on my jenkins:

enter image description here

and the following build cause for e.g. build #40

enter image description here

How can I put this build cause "Started by Gitlab push by Patryk" into the build list? (underneath the approriate build)

I now this can be done since I had that running few days back but I cannot restore that behaviour. I am using https://github.com/jenkinsci/gitlab-plugin plugin for gitlab hooks.

Upvotes: 1

Views: 496

Answers (2)

Patryk
Patryk

Reputation: 24092

I had a wrong/old version of this plugin https://github.com/DABSquared/gitlab-plugin and I couldn't find the option in Jenkins to "show detailed build information".

Now in new version it works fine.

Upvotes: 0

ilia
ilia

Reputation: 1132

You may try to use Build Name Setter Plugin , with Build User Vars Plugin. Set Build Name to Started by ${ENV,var="BUILD_USER"}

Upvotes: 1

Related Questions