project-config/jenkins/jobs/deb-openstack-pkg-tools.yaml
Thomas Goirand f7cccdfd8a Publish build files correctly on merge
This patch fixes 2 things:
1/ The publish job didn't work, as it missed the double *
2/ Only publish after merge (ie: a post: job) and not on
every patch iteration

Change-Id: I6465056ff737b1fc5606f4f92a2a4e8acd89250d
2016-05-18 23:42:18 +02:00

55 lines
1.3 KiB
YAML

- job:
name: pkgdeb-build-openstack-pkg-tools
node: debian-jessie
wrappers:
- build-timeout:
timeout: 30
- timestamps
builders:
- gerrit-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 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:
- gerrit-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 pkgos-infra-install-sbuild
pkgos-infra-build-pkg
publishers:
- console-log
- deb-pkgs