nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3058fce
)
nitester-wrapper: test if the target hash is valid
author
Alexis Laferrière
<alexis.laf@xymus.net>
Thu, 11 Dec 2014 13:39:03 +0000
(08:39 -0500)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Fri, 12 Dec 2014 19:21:26 +0000
(14:21 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
misc/jenkins/nitester-wrapper.sh
patch
|
blob
|
history
diff --git
a/misc/jenkins/nitester-wrapper.sh
b/misc/jenkins/nitester-wrapper.sh
index
3148bd8
..
ec1a0ef
100755
(executable)
--- a/
misc/jenkins/nitester-wrapper.sh
+++ b/
misc/jenkins/nitester-wrapper.sh
@@
-29,7
+29,10
@@
tools_dir=misc/jenkins/
cd $local_repo
git clean -fdxq .
git fetch origin
cd $local_repo
git clean -fdxq .
git fetch origin
-git checkout $hash
+
+if ! git checkout $hash; then
+ exit 1
+fi
# Make nitg and tools
$tools_dir/unitrun.sh "run-make-0initial_make" make
# Make nitg and tools
$tools_dir/unitrun.sh "run-make-0initial_make" make