7 echo "Downloading the $INSTALLER_TYPE artifact. This could take some time..."
8 echo "--------------------------------------------------------"
11 # get the latest.properties file in order to get info regarding latest artifact
12 [[ -d $BUILD_DIRECTORY ]] || mkdir -p $BUILD_DIRECTORY
13 curl -s -o $BUILD_DIRECTORY/latest.properties http://$GS_URL/latest.properties
15 # check if we got the file
16 [[ -f $BUILD_DIRECTORY/latest.properties ]] || exit 1
18 # source the file so we get OPNFV vars
19 source $BUILD_DIRECTORY/latest.properties
22 curl -s -o $BUILD_DIRECTORY/compass.iso http://$OPNFV_ARTIFACT_URL > gsutil.iso.log 2>&1
25 ls -al $BUILD_DIRECTORY/compass.iso
28 echo "--------------------------------------------------------"