diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2023-08-25 13:57:44 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2023-08-25 13:59:36 +0000 |
commit | 76e828d65486a95cfaf7e161ce2618a192c50027 (patch) | |
tree | 92b2b0622584b3bb4225319d3d27617219918dd5 /tcwg_bmk-build.sh | |
parent | 9ef6296b5aad2c5a0032ee8155ceb123cafa9b88 (diff) |
jenkins-helper.sh (git_annex_upload): Make more robust
Change-Id: Iaf5a463f17f6e88d0cd2f83c54a722c68264cde0
Diffstat (limited to 'tcwg_bmk-build.sh')
-rwxr-xr-x | tcwg_bmk-build.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tcwg_bmk-build.sh b/tcwg_bmk-build.sh index dddf7638..6dca2310 100755 --- a/tcwg_bmk-build.sh +++ b/tcwg_bmk-build.sh @@ -263,10 +263,11 @@ benchmark () *) echo "ERROR: Unknown hw_tag $hw_tag"; exit 1 ;; esac - # Create directory for tcwg-benchmark to upload results to + # Create directory for tcwg-benchmark to upload results to. + # Note that files inside $results_dir will be owned by tcwg-benchmark. local results_dir results_dir="$(mktemp -d)" - chmod go+wx "$results_dir" + chmod 0777 "$results_dir" # Trigger benchmarking job and capture its console output. # Ignore exit code of the trigger command to detect various failure |