ceph/jenkins/jenkins-pull-requests-build
Ken Dreyer a53454ba8d jenkins: fail fast during job execution
Jenkins will dynamically write the commands in its database into a
script and run it with "-x" and "-e" in order to display each step and
fail after the first step fails.

Now that our commands are stored in Git, ensure that we're doing the
same thing.

Signed-off-by: Ken Dreyer <ken.dreyer@inktank.com>
2014-02-21 11:11:47 -07:00

14 lines
256 B
Bash
Executable File

#!/bin/sh
# This is the script that runs inside Jenkins.
# http://jenkins.ceph.com/job/teuthology-pull-requests/
set -x
set -e
virtualenv --version
virtualenv --system-site-packages --distribute venv
. venv/bin/activate
venv/bin/pip install tox
tox -rv