20576bded0
So we can avoid using the jenkins-specific postbuildscript plugin, move the proposal slave cleanup to a builder. Run it first so that it always runs. Since we're running it first, we can't use it to clean up our current workspace, so instead, ask it to clean up all workspaces. Change-Id: I54a187d643fb76f10cc11411d546c41348b5592e
41 lines
943 B
YAML
41 lines
943 B
YAML
# Devstack unit tests are run via a set of shell scripts with the
|
|
# run_tests.sh entry point
|
|
- job:
|
|
name: gate-devstack-unit-tests
|
|
node: ubuntu-trusty
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- install-distro-packages
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
# This installs packages from "general" that might be
|
|
# required for unit tests
|
|
./tools/install_prereqs.sh
|
|
- revoke-sudo
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
./run_tests.sh
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
- job:
|
|
name: propose-devstack-plugins-list
|
|
node: proposal
|
|
|
|
builders:
|
|
- proposal-slave-cleanup
|
|
- revoke-sudo
|
|
- link-logs
|
|
- branch-git-prep:
|
|
branch: master
|
|
- net-info
|
|
- shell: |
|
|
export ZUUL_REFNAME=master
|
|
/usr/local/jenkins/slave_scripts/propose_update.sh \
|
|
devstack-plugins-list
|
|
|
|
publishers:
|
|
- console-log
|