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
38 lines
738 B
YAML
38 lines
738 B
YAML
- scm:
|
|
name: project-scm
|
|
scm:
|
|
- hg:
|
|
url: http://hg.example.org/project
|
|
clean: true
|
|
|
|
- job-template:
|
|
name: '{name}-unit-tests'
|
|
project-type: pipeline
|
|
pipeline-scm:
|
|
scm:
|
|
- project-scm
|
|
sandbox: true
|
|
description: 'maintainer: {maintainer}'
|
|
|
|
- job-template:
|
|
name: '{name}-perf-tests'
|
|
project-type: pipeline
|
|
pipeline-scm:
|
|
scm:
|
|
- project-scm
|
|
sandbox: false
|
|
description: 'maintainer: {maintainer}'
|
|
|
|
- job-group:
|
|
name: '{name}-tests'
|
|
jobs:
|
|
- '{name}-unit-tests':
|
|
maintainer: dev@example.org
|
|
- '{name}-perf-tests':
|
|
maintainer: qa@example.org
|
|
|
|
- project:
|
|
name: project-name
|
|
jobs:
|
|
- '{name}-tests'
|