Issue
We use some shared Groovy-libraries and now every job info includes their git commit. We want to hide it, because you can mismatch it with project build information.
Example:
src="https://i.stack.imgur.com/nMKQb.png" alt="enter image description here">
Screenshot with library configuration:
And I import library in pipelines with
@Library('common-lib@some-branch') _
Solution
Jenkins 2.303.2, latest plugins as of 2021.
- Navigate to https://your.jenkins.com/configure
- Uncheck
Include @Library changes in job recent changes
checkbox under "Global Pipeline Libraries"
Answered By - Aleksejs Spiridonovs
Answer Checked By - Katrina (JavaFixing Volunteer)