diff --git a/jenkins/jobs/sahara.yaml b/jenkins/jobs/sahara.yaml index 61946769e9..c53cd9b2ee 100644 --- a/jenkins/jobs/sahara.yaml +++ b/jenkins/jobs/sahara.yaml @@ -84,7 +84,9 @@ - link-logs - shell: | #!/bin/bash -xe - tools/build-all-artifacts.sh + export BRANCH=${{ZUUL_BRANCH:-master}} + # tell to script where it should place dist results + tools/build-all-artifacts.sh $BRANCH - publisher: @@ -101,7 +103,27 @@ - job: name: 'gate-sahara-extra-artifacts' - node: ubuntu-trusty + node: ubuntu-xenial + + wrappers: + - build-timeout: + timeout: 65 + - timestamps + + builders: + - link-logs + - net-info + - gerrit-git-prep + - install-distro-packages + - sahara-extra-build + + publishers: + - console-log + + +- job: + name: 'post-sahara-extra-artifacts' + node: ubuntu-xenial wrappers: - build-timeout: diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 8956c03538..d549a4f37b 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -2471,8 +2471,8 @@ jobs: - name: gate-grenade-dsvm-sahara voting: false - - name: ^gate-sahara-extra-artifacts$ - voting: false + - name: ^(gate|post)-sahara-extra-artifacts$ + branch: ^(?!stable/(mitaka|liberty|icehouse)).*$ - name: ^sahara-coverage-db-ubuntu-(trusty|xenial) voting: false @@ -15002,8 +15002,10 @@ projects: gate: - gate-sahara-extra-pep8-ubuntu-trusty - gate-sahara-extra-pep8-ubuntu-xenial + - gate-sahara-extra-artifacts post: - sahara-extra-branch-tarball + - post-sahara-extra-artifacts # TODO: add docs - name: openstack/sahara-image-elements