project-config/jenkins/jobs/release-jobs.yaml
Doug Hellmann 4cf5aefd8f tell the release job where the LP credentials are
The script for updating launchpad bugs when a fix is included in a
release needs to know where its credential file is. This change sets the
environment variable that the script uses to get a default so it points
to the file installed by the signing node puppet module.

Change-Id: Iaa93d047da39d27e9efbb518f77bf7844e925caf
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-08-29 18:46:04 -04:00

30 lines
906 B
YAML

- job:
name: tag-releases
description: Apply tags to repositories based on changes in deliverables files.
node: signing
builders:
- gerrit-git-prep
- revoke-sudo
- shell: |
#!/bin/bash -ex
# Tell the launchpad script run from release.sh where it's
# credentials file is.
export LP_CREDS_FILE=$HOME/.launchpadlib/creds
# Pass the location of the openstack/releases repo to
# release_from_yaml.sh explicitly so it knows where to scan to
# look for modified files.
/usr/local/jenkins/slave_scripts/release-tools/release_from_yaml.sh $(pwd)
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'cover/**'
keep-hierarchy: true
copy-after-failure: true
- console-log