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="[email protected]"> | |
<actions/> | |
<description></description> | |
<properties> | |
<org.jenkinsci.plugins.pipeline.maven.MavenConfigFolderOverrideProperty plugin="[email protected]"> | |
<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="[email protected]"> | |
<dockerLabel></dockerLabel> | |
<registry plugin="[email protected]"/> | |
</org.jenkinsci.plugins.pipeline.modeldefinition.config.FolderConfig> | |
</properties> | |
<folderViews class="jenkins.branch.MultiBranchProjectViewHolder" plugin="[email protected]"> | |
<owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/> | |
</folderViews> | |
<healthMetrics> | |
<com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric plugin="[email protected]"> | |
<nonRecursive>false</nonRecursive> | |
</com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric> | |
</healthMetrics> | |
<icon class="jenkins.branch.MetadataActionFolderIcon" plugin="[email protected]"> | |
<owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/> | |
</icon> | |
<orphanedItemStrategy class="com.cloudbees.hudson.plugins.folder.computed.DefaultOrphanedItemStrategy" plugin="[email protected]"> | |
<pruneDeadBranches>false</pruneDeadBranches> | |
<daysToKeep>-1</daysToKeep> | |
<numToKeep>-1</numToKeep> | |
</orphanedItemStrategy> | |
<triggers> | |
<org.jenkinsci.plugins.pipeline.maven.trigger.WorkflowJobDependencyTrigger plugin="[email protected]"> | |
<spec></spec> | |
</org.jenkinsci.plugins.pipeline.maven.trigger.WorkflowJobDependencyTrigger> | |
</triggers> | |
<disabled>false</disabled> | |
<sources class="jenkins.branch.MultiBranchProject$BranchSourceList" plugin="[email protected]"> | |
<data> | |
<jenkins.branch.BranchSource> | |
<source class="jenkins.plugins.git.GitSCMSource" plugin="[email protected]"> | |
<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