Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins Pipeline - global pipeline library updates show up in job's list of recent changes, how to prevent this?

I don't want my global pipeline changes to show up in Jenkins list of changes.

Whenever a build is ran and there are global pipeline updates, the list of changes for that build include all updates made to the global pipeline. I only want the list of changes that the build picked up from the SCM branch that is being built, not any of the global pipeline updates. Is this possible?

like image 338
user797963 Avatar asked Oct 13 '17 18:10

user797963


2 Answers

Such option to disable the changelog exists since version 2.9 of the Pipeline Shared Groovy Libraries Plugin:

@Library(value="mylib", changelog=false) 
like image 80
StephenKing Avatar answered Oct 01 '22 23:10

StephenKing


You can also uncheck the corresponding box in the Jenkins system settings if you are administrator for your Jenkins, see here:

enter image description here

like image 32
tim Avatar answered Oct 01 '22 23:10

tim