summaryrefslogtreecommitdiffstats
path: root/tests/yamlparser/fixtures/project_pipeline_concurrent.yaml
diff options
context:
space:
mode:
authorAdam Romanek <romanek.adam@gmail.com>2020-05-25 13:58:04 +0200
committerAdam Romanek <romanek.adam@gmail.com>2020-05-25 13:59:13 +0200
commit8625fe2a975524f0f3382959ec8f4132b353c278 (patch)
treecc8c9eff1cd403035720df78ffd3a6dfb6b36dec /tests/yamlparser/fixtures/project_pipeline_concurrent.yaml
parent074985c7ff9360bb58be80ffab686746267f814f (diff)
downloadpython-jenkins-job-builder-8625fe2a975524f0f3382959ec8f4132b353c278.tar.gz
python-jenkins-job-builder-8625fe2a975524f0f3382959ec8f4132b353c278.tar.xz
python-jenkins-job-builder-8625fe2a975524f0f3382959ec8f4132b353c278.zip
Pipelines: stop producing unsupported and deprecated XML tags
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
Diffstat (limited to 'tests/yamlparser/fixtures/project_pipeline_concurrent.yaml')
-rw-r--r--tests/yamlparser/fixtures/project_pipeline_concurrent.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/yamlparser/fixtures/project_pipeline_concurrent.yaml b/tests/yamlparser/fixtures/project_pipeline_concurrent.yaml
new file mode 100644
index 00000000..410ca4e4
--- /dev/null
+++ b/tests/yamlparser/fixtures/project_pipeline_concurrent.yaml
@@ -0,0 +1,6 @@
+- job:
+ name: test_job
+ project-type: pipeline
+ dsl: |
+ build job: "job1"
+ concurrent: true