8625fe2a97
The changes include: - <concurrentBuild> should now be represented as <org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> property - <triggers> should now be localed inside <org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> property, in <properties> section - unsupported XML elements got removed: - <blockBuildWhenDownstreamBuilding> - <blockBuildWhenUpstreamBuilding> - <assignedNode> - <canRoam> - <customWorkspace> - got rid of publishers from project_pipeline_template005.{xml,yaml} as these are not supported in Pipeline jobs The above changes align the produced XMLs with the ones from Jenkins 2.190.1 and Pipeline plugin v2.6. Task: 39836 Story: 2007708 Change-Id: I650ef2ee60e872cce8f93de5f391933d68ec81f0
44 lines
1.7 KiB
XML
44 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<flow-definition plugin="workflow-job">
|
|
<definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps">
|
|
<sandbox>false</sandbox>
|
|
<scm class="hudson.plugins.mercurial.MercurialSCM">
|
|
<source>http://hg.example.org/project</source>
|
|
<revisionType>BRANCH</revisionType>
|
|
<revision>default</revision>
|
|
<clean>true</clean>
|
|
<modules/>
|
|
<disableChangeLog>false</disableChangeLog>
|
|
</scm>
|
|
<scriptPath>Jenkinsfile</scriptPath>
|
|
</definition>
|
|
<actions/>
|
|
<description>maintainer: qa@example.org<!-- Managed by Jenkins Job Builder --></description>
|
|
<keepDependencies>false</keepDependencies>
|
|
<properties>
|
|
<org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/>
|
|
</properties>
|
|
</flow-definition>
|
|
<BLANKLINE>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<flow-definition plugin="workflow-job">
|
|
<definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps">
|
|
<sandbox>true</sandbox>
|
|
<scm class="hudson.plugins.mercurial.MercurialSCM">
|
|
<source>http://hg.example.org/project</source>
|
|
<revisionType>BRANCH</revisionType>
|
|
<revision>default</revision>
|
|
<clean>true</clean>
|
|
<modules/>
|
|
<disableChangeLog>false</disableChangeLog>
|
|
</scm>
|
|
<scriptPath>Jenkinsfile</scriptPath>
|
|
</definition>
|
|
<actions/>
|
|
<description>maintainer: dev@example.org<!-- Managed by Jenkins Job Builder --></description>
|
|
<keepDependencies>false</keepDependencies>
|
|
<properties>
|
|
<org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/>
|
|
</properties>
|
|
</flow-definition>
|