git://git.onelab.eu
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0899dc5
)
Improve early failure test.
author
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Thu, 15 Jul 2010 19:45:31 +0000
(15:45 -0400)
committer
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Thu, 15 Jul 2010 19:45:31 +0000
(15:45 -0400)
vbuild-nightly.sh
patch
|
blob
|
history
diff --git
a/vbuild-nightly.sh
b/vbuild-nightly.sh
index
133852f
..
5ee38d9
100755
(executable)
--- a/
vbuild-nightly.sh
+++ b/
vbuild-nightly.sh
@@
-121,7
+121,7
@@
function webpublish_append_stdin_to_file () { ssh root@${WEBHOST} cat \>\> $1; }
function failure() {
set -x
# early stage ? - let's not create /build/@PLDISTRO@
- if
webpublish_misses_dir $WEBPATH
; then
+ if
test -z "$WEBLOG"
; then
WEBHOST=localhost
WEBPATH=/tmp
WEBBASE=/tmp/vbuild-early-$(date +%Y-%m-%d)
@@
-149,7
+149,7
@@
function failure() {
function success () {
set -x
# early stage ? - let's not create /build/@PLDISTRO@
- if
webpublish_misses_dir ${WEBPATH}
; then
+ if
test -z "$WEBLOG"
; then
WEBHOST=localhost
WEBPATH=/tmp
WEBLOG=/tmp/vbuild-early-$(date +%Y-%m-%d).log.txt