Name: jenkins-global-lib
Owner: Inuits
Description: A global library you can use in you Jenkins
Created: 2016-12-22 10:27:30.0
Updated: 2017-08-27 13:19:09.0
Pushed: 2016-12-22 10:49:06.0
Homepage: null
Size: 65
Language: Groovy
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is a global library you can use in your Jenkins.
This is a workaround for JENKINS-40622.
When using multiple git repositories (with Pipeline) the build menu is useless. To find the “Waiting for input” button, you need to scroll a lot.
The following code will remove all the “git actions” in individual builds menu:
rt eu.inuits.BuildHelpers
{
checkout scm
checkout scm2
checkout scm3
checkout scm4
new BuildHelpers(this).removeGitActions()
Requires Jenkins >= 2.29 or Jenkins LTS >= 2.31.1.