6ddb8f7d35
Support recursive build strategies from Basic Branch Build Strategies Plugin Change-Id: Idc1d2bc679ba489f5ef487648cca1e9044084990 Signed-off-by: Anna Tikhonova <anna.m.tikhonova@gmail.com>
142 lines
8.5 KiB
XML
142 lines
8.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject plugin="workflow-multibranch">
|
|
<properties/>
|
|
<views>
|
|
<hudson.model.AllView>
|
|
<name>All</name>
|
|
<filterExecutors>false</filterExecutors>
|
|
<filterQueue>false</filterQueue>
|
|
<properties class="hudson.model.View$PropertyList"/>
|
|
<owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../../.."/>
|
|
</hudson.model.AllView>
|
|
</views>
|
|
<viewsTabBar class="hudson.views.DefaultViewsTabBar"/>
|
|
<folderViews class="jenkins.branch.MultiBranchProjectViewHolder" plugin="branch-api">
|
|
<owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/>
|
|
</folderViews>
|
|
<healthMetrics>
|
|
<com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric plugin="cloudbees-folder">
|
|
<nonRecursive>false</nonRecursive>
|
|
</com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric>
|
|
</healthMetrics>
|
|
<icon class="jenkins.branch.MetadataActionFolderIcon" plugin="branch-api">
|
|
<owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/>
|
|
</icon>
|
|
<orphanedItemStrategy class="com.cloudbees.hudson.plugins.folder.computed.DefaultOrphanedItemStrategy" plugin="cloudbees-folder">
|
|
<pruneDeadBranches>true</pruneDeadBranches>
|
|
<daysToKeep>-1</daysToKeep>
|
|
<numToKeep>-1</numToKeep>
|
|
</orphanedItemStrategy>
|
|
<triggers/>
|
|
<sources class="jenkins.branch.MultiBranchProject$BranchSourceList" plugin="branch-api">
|
|
<data>
|
|
<jenkins.branch.BranchSource>
|
|
<source class="jenkins.plugins.gerrit.GerritSCMSource" plugin="gerrit-code-review">
|
|
<id>gr-https://review.gerrithub.io/johndoe/foo</id>
|
|
<remote>https://review.gerrithub.io/johndoe/foo</remote>
|
|
<credentialsId>secret</credentialsId>
|
|
<includes>*</includes>
|
|
<excludes/>
|
|
<ignoreOnPushNotifications>true</ignoreOnPushNotifications>
|
|
<traits>
|
|
<jenkins.plugins.gerrit.traits.ChangeDiscoveryTrait/>
|
|
<jenkins.plugins.git.traits.RefSpecsSCMSourceTrait plugin="git">
|
|
<templates>
|
|
<jenkins.plugins.git.traits.RefSpecsSCMSourceTrait_-RefSpecTemplate>
|
|
<value>refs/heads/*</value>
|
|
</jenkins.plugins.git.traits.RefSpecsSCMSourceTrait_-RefSpecTemplate>
|
|
</templates>
|
|
</jenkins.plugins.git.traits.RefSpecsSCMSourceTrait>
|
|
<jenkins.plugins.gerrit.traits.FilterChecksTrait>
|
|
<queryOperator>SCHEME</queryOperator>
|
|
<queryString>jenkins</queryString>
|
|
</jenkins.plugins.gerrit.traits.FilterChecksTrait>
|
|
</traits>
|
|
</source>
|
|
<strategy class="jenkins.branch.DefaultBranchPropertyStrategy">
|
|
<properties class="java.util.Arrays$ArrayList">
|
|
<a class="jenkins.branch.BranchProperty-array">
|
|
<jenkins.branch.NoTriggerBranchProperty/>
|
|
<org.jenkinsci.plugins.workflow.multibranch.DurabilityHintBranchProperty plugin="workflow-multibranch">
|
|
<hint>MAX_SURVIVABILITY</hint>
|
|
</org.jenkinsci.plugins.workflow.multibranch.DurabilityHintBranchProperty>
|
|
</a>
|
|
</properties>
|
|
</strategy>
|
|
<buildStrategies>
|
|
<jenkins.branch.buildstrategies.basic.AllBranchBuildStrategyImpl plugin="basic-branch-build-strategies">
|
|
<strategies>
|
|
<jenkins.branch.buildstrategies.basic.BranchBuildStrategyImpl plugin="basic-branch-build-strategies"/>
|
|
<jenkins.branch.buildstrategies.basic.SkipInitialBuildOnFirstBranchIndexing plugin="basic-branch-build-strategies"/>
|
|
</strategies>
|
|
</jenkins.branch.buildstrategies.basic.AllBranchBuildStrategyImpl>
|
|
<jenkins.branch.buildstrategies.basic.AnyBranchBuildStrategyImpl plugin="basic-branch-build-strategies">
|
|
<strategies>
|
|
<jenkins.branch.buildstrategies.basic.ChangeRequestBuildStrategyImpl plugin="basic-branch-build-strategies">
|
|
<ignoreTargetOnlyChanges>false</ignoreTargetOnlyChanges>
|
|
</jenkins.branch.buildstrategies.basic.ChangeRequestBuildStrategyImpl>
|
|
<jenkins.branch.buildstrategies.basic.TagBuildStrategyImpl plugin="basic-branch-build-strategies">
|
|
<atMostMillis>-1</atMostMillis>
|
|
<atLeastMillis>-1</atLeastMillis>
|
|
</jenkins.branch.buildstrategies.basic.TagBuildStrategyImpl>
|
|
</strategies>
|
|
</jenkins.branch.buildstrategies.basic.AnyBranchBuildStrategyImpl>
|
|
<jenkins.branch.buildstrategies.basic.TagBuildStrategyImpl plugin="basic-branch-build-strategies">
|
|
<atMostMillis>86400000</atMostMillis>
|
|
<atLeastMillis>604800000</atLeastMillis>
|
|
</jenkins.branch.buildstrategies.basic.TagBuildStrategyImpl>
|
|
<jenkins.branch.buildstrategies.basic.TagBuildStrategyImpl plugin="basic-branch-build-strategies">
|
|
<atMostMillis>-1</atMostMillis>
|
|
<atLeastMillis>-1</atLeastMillis>
|
|
</jenkins.branch.buildstrategies.basic.TagBuildStrategyImpl>
|
|
<jenkins.branch.buildstrategies.basic.ChangeRequestBuildStrategyImpl plugin="basic-branch-build-strategies">
|
|
<ignoreTargetOnlyChanges>true</ignoreTargetOnlyChanges>
|
|
</jenkins.branch.buildstrategies.basic.ChangeRequestBuildStrategyImpl>
|
|
<jenkins.branch.buildstrategies.basic.ChangeRequestBuildStrategyImpl plugin="basic-branch-build-strategies">
|
|
<ignoreTargetOnlyChanges>false</ignoreTargetOnlyChanges>
|
|
</jenkins.branch.buildstrategies.basic.ChangeRequestBuildStrategyImpl>
|
|
<jenkins.branch.buildstrategies.basic.BranchBuildStrategyImpl plugin="basic-branch-build-strategies"/>
|
|
<jenkins.branch.buildstrategies.basic.SkipInitialBuildOnFirstBranchIndexing plugin="basic-branch-build-strategies"/>
|
|
<jenkins.branch.buildstrategies.basic.NamedBranchBuildStrategyImpl plugin="basic-branch-build-strategies">
|
|
<filters>
|
|
<jenkins.branch.buildstrategies.basic.NamedBranchBuildStrategyImpl_-ExactNameFilter>
|
|
<name>test</name>
|
|
<caseSensitive>true</caseSensitive>
|
|
</jenkins.branch.buildstrategies.basic.NamedBranchBuildStrategyImpl_-ExactNameFilter>
|
|
<jenkins.branch.buildstrategies.basic.NamedBranchBuildStrategyImpl_-RegexNameFilter>
|
|
<regex>test.*$</regex>
|
|
<caseSensitive>true</caseSensitive>
|
|
</jenkins.branch.buildstrategies.basic.NamedBranchBuildStrategyImpl_-RegexNameFilter>
|
|
<jenkins.branch.buildstrategies.basic.NamedBranchBuildStrategyImpl_-WildcardsNameFilter>
|
|
<includes>testinclude</includes>
|
|
<excludes>testexclude</excludes>
|
|
</jenkins.branch.buildstrategies.basic.NamedBranchBuildStrategyImpl_-WildcardsNameFilter>
|
|
</filters>
|
|
</jenkins.branch.buildstrategies.basic.NamedBranchBuildStrategyImpl>
|
|
<jenkins.branch.buildstrategies.basic.NamedBranchBuildStrategyImpl plugin="basic-branch-build-strategies">
|
|
<filters>
|
|
<jenkins.branch.buildstrategies.basic.NamedBranchBuildStrategyImpl_-ExactNameFilter>
|
|
<name/>
|
|
<caseSensitive>false</caseSensitive>
|
|
</jenkins.branch.buildstrategies.basic.NamedBranchBuildStrategyImpl_-ExactNameFilter>
|
|
<jenkins.branch.buildstrategies.basic.NamedBranchBuildStrategyImpl_-RegexNameFilter>
|
|
<regex>^.*$</regex>
|
|
<caseSensitive>false</caseSensitive>
|
|
</jenkins.branch.buildstrategies.basic.NamedBranchBuildStrategyImpl_-RegexNameFilter>
|
|
<jenkins.branch.buildstrategies.basic.NamedBranchBuildStrategyImpl_-WildcardsNameFilter>
|
|
<includes>*</includes>
|
|
<excludes/>
|
|
</jenkins.branch.buildstrategies.basic.NamedBranchBuildStrategyImpl_-WildcardsNameFilter>
|
|
</filters>
|
|
</jenkins.branch.buildstrategies.basic.NamedBranchBuildStrategyImpl>
|
|
</buildStrategies>
|
|
</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>some.Jenkinsfile</scriptPath>
|
|
</factory>
|
|
</org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject>
|