aboutsummaryrefslogtreecommitdiffstats
path: root/script-pgaas-deb-build.sh
diff options
context:
space:
mode:
authorLisa Revel <lr0306@att.com>2017-03-08 20:34:21 +0000
committerLisa Revel <lr0306@att.com>2017-03-08 20:34:21 +0000
commit66dd187ff28112ccdc3c74eaa57551f564a528ac (patch)
tree2462799d7d730e3a4f3eadb28f997a470b9b2534 /script-pgaas-deb-build.sh
parente825e3d9f8c08fc648131ffd1f47f287adcbddb8 (diff)
Updated for new naming standards
Change-Id: I11298f6bc579c756966a5c5f992126ee75aab243 Signed-off-by: Lisa Revel <lr0306@att.com>
Diffstat (limited to 'script-pgaas-deb-build.sh')
-rwxr-xr-xscript-pgaas-deb-build.sh5
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'"