diff options
author | Yvan Roux <yvan.roux@linaro.org> | 2017-06-06 15:24:56 +0200 |
---|---|---|
committer | Yvan Roux <yvan.roux@linaro.org> | 2017-06-06 15:24:56 +0200 |
commit | 55790f9db26b67c510dda437c45c6978a692a797 (patch) | |
tree | 3d6aac46a0babc95dcc21bb607737281bf92e7cb /tcwg-gcc-release-automation.yaml | |
parent | c1e160d7487807ca66ac0c3dbfa9d99af0829271 (diff) |
tcwg-gcc-release-automation: Refactoring upload target directory.
Change-Id: I2da4de2a0d8d5f053a5e95854b74fc7135b02ea1
Diffstat (limited to 'tcwg-gcc-release-automation.yaml')
-rw-r--r-- | tcwg-gcc-release-automation.yaml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tcwg-gcc-release-automation.yaml b/tcwg-gcc-release-automation.yaml index ddd6a778..c442ad2a 100644 --- a/tcwg-gcc-release-automation.yaml +++ b/tcwg-gcc-release-automation.yaml @@ -117,7 +117,7 @@ # Remove linaro-[snapshot-] prefix upload_dir=${tag#*ro-} - upload_dir=${upload_dir#*ot-}$dir_suffix + upload_dir="/home/tcwg-buildslave/releases/sources/${upload_dir#*ot-}$dir_suffix" popd 1>/dev/null @@ -144,10 +144,9 @@ pushd /home/tcwg-buildslave/logs/${JOB_NAME}-${tag}-${BUILD_NUMBER} - upload_path=/home/tcwg-buildslave/releases/sources - mkdir -p ${upload_path}/$upload_dir + mkdir -p $upload_dir for i in * ; do - cp ${i}/gcc-linaro-*-manifest.txt ${upload_path}/${upload_dir}/${i}-gcc-${tag}-manifest.txt + cp ${i}/gcc-linaro-*-manifest.txt ${upload_dir}/${i}-gcc-${tag}-manifest.txt done popd 1>/dev/null |