diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2016-11-02 16:04:17 +0100 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2016-11-06 16:24:21 +0000 |
commit | 22a184c9fa564fbac329002872401d17c256ed8d (patch) | |
tree | e74464522c03a4dc7986614d3d101c924ea477a3 /MakeRelease.job | |
parent | fca03cce84f439a7c5d7bb06adc3afbf52e9b6da (diff) |
MakeRelease.job: Append build number to upload directory.
For both binary tarballs and logs.
Implements TCWG-878
Change-Id: I64b653242d93cf856066d8352bd702ebf3271405
Diffstat (limited to 'MakeRelease.job')
-rwxr-xr-x | MakeRelease.job | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/MakeRelease.job b/MakeRelease.job index 0edc92ca..7b9614e1 100755 --- a/MakeRelease.job +++ b/MakeRelease.job @@ -186,8 +186,9 @@ series_date=${series_date%-linux} series_date=${series_date%-win32} # Fileserver location of binary tarballs and build logfiles -binaries="/work/space/binaries/${gcc_release}-${series_date}/${target}" -logs="/work/space/logs/${gcc_release}-${series_date}/${target}" +buildid=`printf '%04d' ${BUILD_NUMBER}` +binaries="/work/space/binaries/${gcc_release}-${series_date}-${buildid}/${target}" +logs="/work/space/logs/${gcc_release}-${series_date}-${buildid}/${target}" # Copy the build log to the fileserver if test -e ${logfile}; then |