Skip to content

Instantly share code, notes, and snippets.

@dmclean62
Created June 11, 2020 18:48
Show Gist options
  • Save dmclean62/87d919ed5e399438347e19f49d11bb8e to your computer and use it in GitHub Desktop.
Save dmclean62/87d919ed5e399438347e19f49d11bb8e to your computer and use it in GitHub Desktop.
<?xml version='1.1' encoding='UTF-8'?>
<org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject plugin="[email protected]">
  <actions/>
  <description></description>
  <properties>
    <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>true</pruneDeadBranches>
    <daysToKeep>90</daysToKeep>
    <numToKeep>-1</numToKeep>
  </orphanedItemStrategy>
  <triggers>
    <com.cloudbees.hudson.plugins.folder.computed.PeriodicFolderTrigger plugin="[email protected]">
      <spec>H/5 * * * *</spec>
      <interval>600000</interval>
    </com.cloudbees.hudson.plugins.folder.computed.PeriodicFolderTrigger>
  </triggers>
  <disabled>false</disabled>
  <sources class="jenkins.branch.MultiBranchProject$BranchSourceList" plugin="[email protected]">
    <data>
      <jenkins.branch.BranchSource>
        <source class="io.jenkins.plugins.gitlabbranchsource.GitLabSCMSource" plugin="[email protected]">
          <id>a287abce-1dce-4657-a9ad-a9981df524aa</id>
          <serverName>Grit</serverName>
          <projectOwner>OED_DSB</projectOwner>
          <projectPath>OED_DSB/AEI</projectPath>
          <credentialsId><redacted></credentialsId>
          <traits>
            <io.jenkins.plugins.gitlabbranchsource.BranchDiscoveryTrait>
              <strategyId>1</strategyId>
            </io.jenkins.plugins.gitlabbranchsource.BranchDiscoveryTrait>
            <io.jenkins.plugins.gitlabbranchsource.OriginMergeRequestDiscoveryTrait>
              <strategyId>2</strategyId>
            </io.jenkins.plugins.gitlabbranchsource.OriginMergeRequestDiscoveryTrait>
            <jenkins.plugins.git.traits.CleanBeforeCheckoutTrait plugin="[email protected]">
              <extension class="hudson.plugins.git.extensions.impl.CleanBeforeCheckout"/>
            </jenkins.plugins.git.traits.CleanBeforeCheckoutTrait>
            <io.jenkins.plugins.gitlabbranchsource.LogCommentTrait>
              <sudoUser></sudoUser>
              <logSuccess>true</logSuccess>
            </io.jenkins.plugins.gitlabbranchsource.LogCommentTrait>
          </traits>
          <projectId>1811</projectId>
        </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.cd</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