Set -e and -x on jenkins build scripts

This commit is contained in:
Calen Pennington
2012-11-07 08:48:44 -05:00
parent 6b28b70e51
commit 2a457bdc0f
3 changed files with 10 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
#! /bin/bash
set -e
set -x
# Reset the submodule, in case it changed
git submodule foreach 'git reset --hard HEAD'
@@ -8,4 +11,4 @@ export PYTHONIOENCODING=UTF-8
rake clobber
rake pep8 || echo "pep8 failed, continuing"
rake pylint || echo "pylint failed, continuing"
rake pylint || echo "pylint failed, continuing"

View File

@@ -1,5 +1,8 @@
#! /bin/bash
set -e
set -x
# Reset the submodule, in case it changed
git submodule foreach 'git reset --hard HEAD'

View File

@@ -1,5 +1,8 @@
#! /bin/bash
set -e
set -x
# Reset the submodule, in case it changed
git submodule foreach 'git reset --hard HEAD'