diff --git a/modules/openstack_project/files/jenkins_job_builder/config/job-builder.yaml b/modules/openstack_project/files/jenkins_job_builder/config/job-builder.yaml new file mode 100644 index 0000000000..4219a29ebc --- /dev/null +++ b/modules/openstack_project/files/jenkins_job_builder/config/job-builder.yaml @@ -0,0 +1,27 @@ +- job: + name: jenkins-job-builder-compare-xml + project-type: freestyle + concurrent: true + node: precise + + wrappers: + - timeout: + timeout: 30 + fail: true + - timestamps + + triggers: + - zuul + + logrotate: + daysToKeep: 1 + numToKeep: -1 + artifactDaysToKeep: -1 + artifactNumToKeep: -1 + + builders: + - gerrit-git-prep + - shell: "./tools/run-compare-xml.sh" + + publishers: + - console-log diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 9867cc7f5b..2df6d99c35 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -59,6 +59,10 @@ jobs: voting: false - name: dev-zuul-coverage voting: false + - name: jenkins-job-builder-compare-xml + voting: false + failure-message: XML output has changed. + success-message: XML output is unchanged. projects: @@ -147,6 +151,7 @@ projects: - name: openstack-ci/jenkins-job-builder check: - gate-jenkins-job-builder-merge + - jenkins-job-builder-compare-xml gate: - gate-jenkins-job-builder-merge