Last active
March 27, 2018 12:38
-
-
Save ocanema/a9f9242cb4019a67dc46b3ffd224ff55 to your computer and use it in GitHub Desktop.
Jenkins Multi-branch job definition
This file contains hidden or 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
| <?xml version='1.0' encoding='UTF-8'?> | |
| <org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject plugin="workflow-multibranch@2.17-SNAPSHOT"> | |
| <actions/> | |
| <description></description> | |
| <properties> | |
| <org.jenkinsci.plugins.pipeline.maven.MavenConfigFolderOverrideProperty plugin="pipeline-maven@3.4.3"> | |
| <settings class="jenkins.mvn.DefaultSettingsProvider"/> | |
| <globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/> | |
| <override>false</override> | |
| </org.jenkinsci.plugins.pipeline.maven.MavenConfigFolderOverrideProperty> | |
| <org.jenkinsci.plugins.pipeline.modeldefinition.config.FolderConfig plugin="pipeline-model-definition@1.2.7"> | |
| <dockerLabel></dockerLabel> | |
| <registry plugin="docker-commons@1.11"/> | |
| </org.jenkinsci.plugins.pipeline.modeldefinition.config.FolderConfig> | |
| </properties> | |
| <folderViews class="jenkins.branch.MultiBranchProjectViewHolder" plugin="branch-api@2.0.18"> | |
| <owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/> | |
| </folderViews> | |
| <healthMetrics> | |
| <com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric plugin="cloudbees-folder@6.4"> | |
| <nonRecursive>false</nonRecursive> | |
| </com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric> | |
| </healthMetrics> | |
| <icon class="jenkins.branch.MetadataActionFolderIcon" plugin="branch-api@2.0.18"> | |
| <owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/> | |
| </icon> | |
| <orphanedItemStrategy class="com.cloudbees.hudson.plugins.folder.computed.DefaultOrphanedItemStrategy" plugin="cloudbees-folder@6.4"> | |
| <pruneDeadBranches>false</pruneDeadBranches> | |
| <daysToKeep>-1</daysToKeep> | |
| <numToKeep>-1</numToKeep> | |
| </orphanedItemStrategy> | |
| <triggers> | |
| <org.jenkinsci.plugins.pipeline.maven.trigger.WorkflowJobDependencyTrigger plugin="pipeline-maven@3.4.3"> | |
| <spec></spec> | |
| </org.jenkinsci.plugins.pipeline.maven.trigger.WorkflowJobDependencyTrigger> | |
| </triggers> | |
| <disabled>false</disabled> | |
| <sources class="jenkins.branch.MultiBranchProject$BranchSourceList" plugin="branch-api@2.0.18"> | |
| <data> | |
| <jenkins.branch.BranchSource> | |
| <source class="jenkins.plugins.git.GitSCMSource" plugin="git@3.8.0"> | |
| <remote>{{git_url}}</remote> | |
| <credentialsId></credentialsId> | |
| <traits> | |
| <jenkins.plugins.git.traits.BranchDiscoveryTrait/> | |
| </traits> | |
| </source> | |
| <strategy class="jenkins.branch.DefaultBranchPropertyStrategy"> | |
| <properties class="empty-list"/> | |
| </strategy> | |
| </jenkins.branch.BranchSource> | |
| </data> | |
| <owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/> | |
| </sources> | |
| <factory class="org.jenkinsci.plugins.workflow.multibranch.WorkflowBranchProjectFactory"> | |
| <owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/> | |
| <scriptPath>Jenkinsfile</scriptPath> | |
| </factory> | |
| </org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment