An open API service indexing awesome lists of open source software.

https://github.com/jenkinsci/pipeline-github-lib-plugin


https://github.com/jenkinsci/pipeline-github-lib-plugin

github jenkins-pipeline jenkins-pipeline-library

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

== Pipeline: GitHub Groovy Libraries

Allows Pipeline Groovy libraries to be loaded on the fly from public repositories on GitHub.
Unlike regular library definitions, no preconfiguration at the global or folder level is needed.

Example:

[source,groovy]
----
@Library('github.com/jglick/sample-pipeline-library') _
if (currentBuildExt().hasChangeIn('src')) {
return
}
node {
sh 'make'
}
----

link:https://www.jenkins.io/doc/book/pipeline/shared-libraries/#automatic-shared-libraries[Documentation]