<?xml version='1.0' encoding='UTF-8'?>
<flow-definition plugin="workflow-job@2.7">
  <actions/>
  <description></description>
  <keepDependencies>false</keepDependencies>
  <properties>
    <jenkins.model.BuildDiscarderProperty>
      <strategy class="hudson.tasks.LogRotator">
        <daysToKeep>-1</daysToKeep>
        <numToKeep>50</numToKeep>
        <artifactDaysToKeep>-1</artifactDaysToKeep>
        <artifactNumToKeep>20</artifactNumToKeep>
      </strategy>
    </jenkins.model.BuildDiscarderProperty>
    <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/>
    <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty>
      <triggers>
        <jenkins.triggers.ReverseBuildTrigger>
          <spec></spec>
          <upstreamProjects>sample-classic</upstreamProjects>
          <threshold>
            <name>SUCCESS</name>
            <ordinal>0</ordinal>
            <color>BLUE</color>
            <completeBuild>true</completeBuild>
          </threshold>
        </jenkins.triggers.ReverseBuildTrigger>
      </triggers>
    </org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty>
  </properties>
  <definition class="org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition" plugin="workflow-cps@2.19">
    <script>properties([
    [
        $class: &apos;jenkins.model.BuildDiscarderProperty&apos;, 
        strategy: [
            $class: &apos;LogRotator&apos;,
            numToKeepStr: &apos;50&apos;,
            artifactNumToKeepStr: &apos;20&apos;
        ]
    ],
    disableConcurrentBuilds(),
    pipelineTriggers(
        [
            upstream(upstreamProjects: &apos;sample-classic&apos;,
                    threshold: hudson.model.Result.SUCCESS)
        ]
    )
])

node(&apos;master&apos;) {
    stage(&apos;Hello World&apos;) {
        echo &apos;Hello&apos;
    }
}
</script>
    <sandbox>false</sandbox>
  </definition>
  <triggers/>
</flow-definition>