diff options
author | Aric Gardner <agardner@linuxfoundation.org> | 2019-01-28 22:08:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2019-01-28 22:08:02 +0000 |
commit | 40b3239551efa65067e57183e43a62e9b2432124 (patch) | |
tree | 8fc37bafa11aec2fc10d971c00f3602f12349978 /jjb/escalator/escalator-build.sh | |
parent | cd667ba9cbc52aa2476bd5379f4a3039683c2f67 (diff) | |
parent | 9abcc99b4be9568cba31591aacdb1e01fda5cdf9 (diff) |
Merge "Remove Archived Project Jobs"
Diffstat (limited to 'jjb/escalator/escalator-build.sh')
-rwxr-xr-x | jjb/escalator/escalator-build.sh | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/jjb/escalator/escalator-build.sh b/jjb/escalator/escalator-build.sh deleted file mode 100755 index 0e35c27d9..000000000 --- a/jjb/escalator/escalator-build.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -echo "--------------------------------------------------------" -echo "This is escalator build job!" -echo "--------------------------------------------------------" - -# set OPNFV_ARTIFACT_VERSION -if [[ "$JOB_NAME" =~ "merge" ]]; then - echo "Building Escalator TAR for a merged change" - export OPNFV_ARTIFACT_VERSION="gerrit-$GERRIT_CHANGE_NUMBER" -else - export OPNFV_ARTIFACT_VERSION=$(date -u +"%Y-%m-%d_%H-%M-%S") -fi - -# build output directory -OUTPUT_DIR=$WORKSPACE/build_output -mkdir -p $OUTPUT_DIR - -# start the build -cd $WORKSPACE -./ci/build.sh $OUTPUT_DIR $OPNFV_ARTIFACT_VERSION - -# save information regarding artifact into file -( - echo "OPNFV_ARTIFACT_VERSION=$OPNFV_ARTIFACT_VERSION" - echo "OPNFV_GIT_URL=$(git config --get remote.origin.url)" - echo "OPNFV_GIT_SHA1=$(git rev-parse HEAD)" - echo "OPNFV_ARTIFACT_URL=$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.bin" - echo "OPNFV_BUILD_URL=$BUILD_URL" -) > $WORKSPACE/opnfv.properties - -echo -echo "--------------------------------------------------------" -echo "Done!" |