summaryrefslogtreecommitdiff
path: root/jenkins.sh
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2018-05-15 15:29:53 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2018-05-15 15:30:14 +0000
commit91ee8bd3b03628b78f8f1ec10af7aa834ff5476d (patch)
tree5c117ac35a2fbf44d45fd4c0987af6ac549e98f9 /jenkins.sh
parent577264e5f6e351b8b5a2e6556744757c881cfe3c (diff)
jenkins.sh: Create $basedir/$dir on logserver.
Fix previous patch: after it, we dropped creation of $basedir/$dir and just kept creation of $(dirname $basedir/$dir), which is obviously not enough. Change-Id: I96fa60f66e8192803c30da31d304ab5ac4265f95
Diffstat (limited to 'jenkins.sh')
-rwxr-xr-xjenkins.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/jenkins.sh b/jenkins.sh
index 2f7d99fa..979b2446 100755
--- a/jenkins.sh
+++ b/jenkins.sh
@@ -46,6 +46,8 @@ upload_to_logserver()
sums=""
# We use the global 'status' variable
+ ssh $logopts $logserver mkdir -p $basedir/$dir || status=1
+
# Copy over the build logs
makelog_list=($(read_var ${user_workspace}/build-artifacts.txt 'log_make_[^=]*'))
if test x"${canadian}" = x"true"; then