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
- Host: GitHub
- URL: https://github.com/jenkinsci/pipeline-github-lib-plugin
- Owner: jenkinsci
- Created: 2016-10-20T12:57:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-02-22T18:47:06.000Z (11 months ago)
- Last Synced: 2025-02-22T19:29:53.654Z (11 months ago)
- Topics: github, jenkins-pipeline, jenkins-pipeline-library
- Language: Java
- Homepage: https://plugins.jenkins.io/pipeline-github-lib/
- Size: 48.8 KB
- Stars: 9
- Watchers: 105
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README.adoc
- Codeowners: .github/CODEOWNERS
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]