From 5feeee54a727e28cc863620d1543629fd5c9f0ee Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 31 Aug 2012 17:57:49 -0700 Subject: [PATCH] Add job builder XML compare job Change-Id: I228cf63639f5b173a99b003adac4134dba92b547 Reviewed-on: https://review.openstack.org/12287 Approved: James E. Blair Reviewed-by: James E. Blair Tested-by: Jenkins --- .../config/job-builder.yaml | 27 +++++++++++++++++++ .../openstack_project/files/zuul/layout.yaml | 5 ++++ 2 files changed, 32 insertions(+) create mode 100644 modules/openstack_project/files/jenkins_job_builder/config/job-builder.yaml 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