a833d1fde6
This adds a job type "githuborg", which creates multibranch pipelines for all repos in the org that contain the specified Jenkinsfile. Signed-off-by: Eric Ball <eball@linuxfoundation.org> Change-Id: I148e2300f3b1ee148b51d25a2a805ed0b5a97862
47 lines
2.4 KiB
XML
47 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<jenkins.branch.OrganizationFolder plugin="branch-api">
|
|
<properties/>
|
|
<folderViews class="jenkins.branch.OrganizationFolderViewHolder">
|
|
<owner 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">
|
|
<owner class="jenkins.branch.OrganizationFolder" 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/>
|
|
<navigators>
|
|
<org.jenkinsci.plugins.github__branch__source.GitHubSCMNavigator plugin="github-branch-source">
|
|
<repoOwner>example-owner</repoOwner>
|
|
<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>
|
|
</org.jenkinsci.plugins.github__branch__source.GitHubSCMNavigator>
|
|
</navigators>
|
|
<projectFactories>
|
|
<org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProjectFactory plugin="workflow-multibranch">
|
|
<scriptPath>Jenkinsfile</scriptPath>
|
|
</org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProjectFactory>
|
|
</projectFactories>
|
|
</jenkins.branch.OrganizationFolder>
|