Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tommysdk/e752486bf7e0eeec0ed3dd32e56f61a4 to your computer and use it in GitHub Desktop.
Save tommysdk/e752486bf7e0eeec0ed3dd32e56f61a4 to your computer and use it in GitHub Desktop.

Revisions

  1. tommysdk created this gist Jul 25, 2017.
    20 changes: 20 additions & 0 deletions org.jenkinsci.plugins.workflow.libs.GlobalLibraries.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    <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>