Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
XML configuration for Jenkins pipeline shared groovy libraries
<org.jenkinsci.plugins.workflow.libs.GlobalLibraries plugin="workflow-cps-global-lib@2.8">
<libraries>
<org.jenkinsci.plugins.workflow.libs.LibraryConfiguration>
<name>my-shared-library</name>
<retriever class="org.jenkinsci.plugins.workflow.libs.SCMSourceRetriever">
<scm class="jenkins.plugins.git.GitSCMSource" plugin="git@3.4.1">
<id>7356ba0d-a25f-4f61-8c56-b3c565a39929</id>
<remote>ssh://git@github.com:Diabol/jenkins-pipeline-shared-library-template.git</remote>
<credentialsId>ssh</credentialsId>
<traits>
<jenkins.plugins.git.traits.BranchDiscoveryTrait/>
</traits>
</scm>
</retriever>
<defaultVersion>master</defaultVersion>
<implicit>true</implicit>
<allowVersionOverride>true</allowVersionOverride>
</org.jenkinsci.plugins.workflow.libs.LibraryConfiguration>
</libraries>
</org.jenkinsci.plugins.workflow.libs.GlobalLibraries>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment