project-config/jenkins/jobs/deb-openstack-pkg-tools.yaml
Andreas Jaeger acf7572d10 s/gerrit-git-prep/zuul-git-prep/g
We do not need gerrit-git-prep anymore, zuul-git-prep works on all our
slaves and has the advantage of using zuul-cloner so that the local
cache is used and Depends-On works.

Remove gerrit-git-prep and use zuul-git-prep instead everywhere.

Change-Id: I2f106af58f78fceaf3c497fe43e6f5a002695645
2017-04-03 19:36:51 +02:00

56 lines
1.3 KiB
YAML

- job:
name: pkgdeb-build-openstack-pkg-tools
node: debian-jessie
wrappers:
- build-timeout:
timeout: 30
- timestamps
builders:
- zuul-git-prep
- shell: |
#!/bin/bash
set -x
set -e
sudo cp ${WORKSPACE}/build-tools/pkgos-infra-install-sbuild /usr/sbin
sudo chmod +x /usr/sbin/pkgos-infra-install-sbuild
sudo cp ${WORKSPACE}/build-tools/pkgos-infra-build-pkg /usr/bin
sudo chmod +x /usr/bin/pkgos-infra-build-pkg
sudo --preserve-env pkgos-infra-install-sbuild
pkgos-infra-build-pkg
publishers:
- console-log
- job:
name: pkgdeb-publish-openstack-pkg-tools
node: debian-jessie
wrappers:
- build-timeout:
timeout: 30
- timestamps
builders:
- zuul-git-prep
- shell: |
#!/bin/bash
set -x
set -e
sudo cp ${WORKSPACE}/build-tools/pkgos-infra-install-sbuild /usr/sbin
sudo chmod +x /usr/sbin/pkgos-infra-install-sbuild
sudo cp ${WORKSPACE}/build-tools/pkgos-infra-build-pkg /usr/bin
sudo chmod +x /usr/bin/pkgos-infra-build-pkg
sudo --preserve-env pkgos-infra-install-sbuild
pkgos-infra-build-pkg
publishers:
- deb-pkgs:
project: deb-openstack-pkg-tools
- console-log