diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2017-06-21 23:06:52 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-06-21 23:06:52 +0000 |
commit | e9383ded0d640e372d29c3d191ef68868ea0aa02 (patch) | |
tree | 184f7d6c03c095bb15014b29e6acd0450e300511 /jjb/barometer/barometer-build.sh | |
parent | 96ba57c04478dce1f51620337d6287f14eb8152d (diff) | |
parent | 7437dc5f56d265accd415d87d58fb38c3f6ee7c9 (diff) |
Merge "barometer: update daily job with artifacts build"
Diffstat (limited to 'jjb/barometer/barometer-build.sh')
-rw-r--r-- | jjb/barometer/barometer-build.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/jjb/barometer/barometer-build.sh b/jjb/barometer/barometer-build.sh new file mode 100644 index 000000000..e40841bc2 --- /dev/null +++ b/jjb/barometer/barometer-build.sh @@ -0,0 +1,21 @@ +set -x + +OPNFV_ARTIFACT_VERSION=$(date -u +"%Y-%m-%d_%H-%M-%S") +OPNFV_ARTIFACT_URL="$GS_URL/$OPNFV_ARTIFACT_VERSION/" + +# log info to console +echo "Starting the build of Barometer RPMs" +echo "------------------------------------" +echo + +cd ci +./install_dependencies.sh +./build_rpm.sh +cd $WORKSPACE + +# save information regarding artifact into file +( + echo "OPNFV_ARTIFACT_VERSION=$OPNFV_ARTIFACT_VERSION" + echo "OPNFV_ARTIFACT_URL=$OPNFV_ARTIFACT_URL" +) > $WORKSPACE/opnfv.properties + |