summaryrefslogtreecommitdiff
path: root/jenkins.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2015-06-01 13:01:37 +0200
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2015-06-05 17:14:35 +0200
commit1eab7c2c53f40ce9dd11e5a3c231d3548e7ae803 (patch)
treea5d9edab05b49aa84a62e3af474d6e31293147df /jenkins.sh
parentd7ca9e3e9efa37ec1e51a3f984e0cc86dd5d11ca (diff)
jenkins.sh: Don't upload artifacts unless logserver is given
We want to start separating test results produced by different branches of ABE and by different jenkins jobs. Towards this end we now explicitly set --logserver in Jenkins jobs for builds from which we want to store results, and unset it for builds that test ABE itself. See https://review.linaro.org/#/c/6153/ for details. Change-Id: I26c2ba493b4229cfc3595e0eb7f859e6ecc5e3ff
Diffstat (limited to 'jenkins.sh')
-rwxr-xr-xjenkins.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/jenkins.sh b/jenkins.sh
index 6c5ea266..59d6ac64 100755
--- a/jenkins.sh
+++ b/jenkins.sh
@@ -60,7 +60,7 @@ user_snapshots="${user_workspace}/snapshots"
fileserver="ex40-01.tcwglab.linaro.org/snapshots-ref"
# Server to store results on.
-logserver="ex40-01.tcwglab.linaro.org:logs"
+logserver=""
# Compiler languages to build
languages=default
@@ -319,7 +319,7 @@ else
fi
# This becomes the path on the remote file server
-if test x"${runtests}" = xtrue; then
+if test x"${logserver}" != x"" -a x"${runtests}" = xtrue; then
# Split $logserver into "server:path".
basedir="${logserver#*:}"
logserver="${logserver%:*}"
@@ -366,7 +366,7 @@ if test x"${canadian}" = x"true"; then
fi
# This setups all the files needed by tcwgweb
-if test x"${sums}" != x -o x"${runtests}" != x"true"; then
+if test x"${logserver}" != x"" && test x"${sums}" != x -o x"${runtests}" != x"true"; then
if test x"${sums}" != x; then
test_logs=""
for s in ${sums}; do