diff options
-rwxr-xr-x | script-pgaas-deb-build.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/script-pgaas-deb-build.sh b/script-pgaas-deb-build.sh index ba196ce..05aad81 100755 --- a/script-pgaas-deb-build.sh +++ b/script-pgaas-deb-build.sh @@ -17,7 +17,8 @@ esac # echo "============== STARTING SCRIPT TO CREATE DEBIAN FILES =================" -export BUILD_NUMBER="${BUILD_ID}" +TIMESTAMP=$(date +%C%y%m%dT%H%M%S) +export BUILD_NUMBER="${TIMESTAMP}" export PATH="$PATH:${WORKSPACE}/buildtools/bin" export NEXUS_RAW="${NEXUSPROXY}/content/sites/raw" @@ -37,8 +38,6 @@ esac export REPACKAGEDEBIANUPLOAD="set -x; curl -k --netrc-file '${NETRC}' \ --upload-file '{0}' '${REPO}/{2}-{1}'" -#export REPACKAGEDEBIANUPLOAD3="set -x; echo curl -k --netrc-file '${NETRC}' \ -# --upload-file '{0}' '${REPO}/{2}-{4}-SNAPSHOT.deb'" export REPACKAGEDEBIANUPLOAD2="set -x; curl -k --netrc-file '${NETRC}' \ --upload-file '{0}' '${REPO}/{2}-{4}.deb'" |