Created
July 25, 2017 15:20
-
-
Save tommysdk/e752486bf7e0eeec0ed3dd32e56f61a4 to your computer and use it in GitHub Desktop.
XML configuration for Jenkins pipeline shared groovy libraries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<org.jenkinsci.plugins.workflow.libs.GlobalLibraries plugin="[email protected]"> | |
<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="[email protected]"> | |
<id>7356ba0d-a25f-4f61-8c56-b3c565a39929</id> | |
<remote>ssh://[email protected]: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