Add latest gate jobs
[releng.git] / jjb / barometer / barometer-build.sh
1 set -x
2
3 OPNFV_ARTIFACT_VERSION=$(date -u +"%Y-%m-%d_%H-%M-%S")
4 OPNFV_ARTIFACT_URL="$GS_URL/$OPNFV_ARTIFACT_VERSION/"
5
6 # log info to console
7 echo "Starting the build of Barometer RPMs"
8 echo "------------------------------------"
9 echo
10
11 cd ci
12 ./install_dependencies.sh
13 ./build_rpm.sh
14 cd $WORKSPACE
15
16 # save information regarding artifact into file
17 (
18     echo "OPNFV_ARTIFACT_VERSION=$OPNFV_ARTIFACT_VERSION"
19     echo "OPNFV_ARTIFACT_URL=$OPNFV_ARTIFACT_URL"
20 ) > $WORKSPACE/opnfv.properties
21