Skip to content

jenkinsci/pipeline-github-lib-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

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