92f18515b4
Add suport of available extensions from default git scm Story #2003620 Task #25743 Change-Id: I62f8018fb49d239ab634b502e51005a1465a81d9
95 lines
4.9 KiB
XML
95 lines
4.9 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>10</daysToKeep>
|
|
<numToKeep>10</numToKeep>
|
|
</orphanedItemStrategy>
|
|
<triggers>
|
|
<com.cloudbees.hudson.plugins.folder.computed.PeriodicFolderTrigger plugin="cloudbees-folder">
|
|
<spec>H H * * *</spec>
|
|
<interval>86400000</interval>
|
|
</com.cloudbees.hudson.plugins.folder.computed.PeriodicFolderTrigger>
|
|
</triggers>
|
|
<sources class="jenkins.branch.MultiBranchProject$BranchSourceList" plugin="branch-api">
|
|
<data>
|
|
<jenkins.branch.BranchSource>
|
|
<source class="com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource" plugin="cloudbees-bitbucket-branch-source">
|
|
<id>bb-SANDBOX-test</id>
|
|
<repoOwner>SANDBOX</repoOwner>
|
|
<repository>test</repository>
|
|
<credentialsId>secret</credentialsId>
|
|
<traits>
|
|
<jenkins.plugins.git.traits.WipeWorkspaceTrait>
|
|
<extension class="hudson.plugins.git.extensions.impl.WipeWorkspace"/>
|
|
</jenkins.plugins.git.traits.WipeWorkspaceTrait>
|
|
</traits>
|
|
</source>
|
|
</jenkins.branch.BranchSource>
|
|
<jenkins.branch.BranchSource>
|
|
<source class="jenkins.plugins.git.GitSCMSource" plugin="git">
|
|
<id>gt-https://example.com/jonhndoe/keep-frontend.git</id>
|
|
<remote>https://example.com/jonhndoe/keep-frontend.git</remote>
|
|
<credentialsId>secret</credentialsId>
|
|
<traits>
|
|
<jenkins.plugins.git.traits.BranchDiscoveryTrait/>
|
|
<jenkins.plugins.git.traits.WipeWorkspaceTrait>
|
|
<extension class="hudson.plugins.git.extensions.impl.WipeWorkspace"/>
|
|
</jenkins.plugins.git.traits.WipeWorkspaceTrait>
|
|
</traits>
|
|
</source>
|
|
</jenkins.branch.BranchSource>
|
|
<jenkins.branch.BranchSource>
|
|
<source class="org.jenkinsci.plugins.github_branch_source.GitHubSCMSource" plugin="github-branch-source">
|
|
<id>gh-johndoe-foo</id>
|
|
<repoOwner>johndoe</repoOwner>
|
|
<repository>foo</repository>
|
|
<credentialsId>secret</credentialsId>
|
|
<traits>
|
|
<org.jenkinsci.plugins.github__branch__source.BranchDiscoveryTrait>
|
|
<strategyId>1</strategyId>
|
|
</org.jenkinsci.plugins.github__branch__source.BranchDiscoveryTrait>
|
|
<org.jenkinsci.plugins.github__branch__source.ForkPullRequestDiscoveryTrait>
|
|
<strategyId>1</strategyId>
|
|
<trust class="org.jenkinsci.plugins.github_branch_source.ForkPullRequestDiscoveryTrait$TrustContributors"/>
|
|
</org.jenkinsci.plugins.github__branch__source.ForkPullRequestDiscoveryTrait>
|
|
<org.jenkinsci.plugins.github__branch__source.OriginPullRequestDiscoveryTrait>
|
|
<strategyId>1</strategyId>
|
|
</org.jenkinsci.plugins.github__branch__source.OriginPullRequestDiscoveryTrait>
|
|
<jenkins.plugins.git.traits.WipeWorkspaceTrait>
|
|
<extension class="hudson.plugins.git.extensions.impl.WipeWorkspace"/>
|
|
</jenkins.plugins.git.traits.WipeWorkspaceTrait>
|
|
</traits>
|
|
</source>
|
|
</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>
|