barometer: bugfix missing script 03/48203/1
authorMaryam Tahhan <maryam.tahhan@intel.com>
Fri, 1 Dec 2017 14:15:15 +0000 (14:15 +0000)
committerMaryam Tahhan <maryam.tahhan@intel.com>
Fri, 1 Dec 2017 14:15:15 +0000 (14:15 +0000)
Update job to check for missing RPMs and block the artifact upload if there is
an issue.

Change-Id: I8230e82e7bc7c92bd5e87a8c15867ad311089790
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
jjb/barometer/barometer-build.sh
jjb/barometer/barometer-upload-artifact.sh

index e40841b..5f78aae 100644 (file)
@@ -11,6 +11,7 @@ echo
 cd ci
 ./install_dependencies.sh
 ./build_rpm.sh
+cp utility/rpms_list $WORKSPACE
 cd $WORKSPACE
 
 # save information regarding artifact into file
index 0f639b5..f05dc2a 100644 (file)
@@ -2,7 +2,7 @@
 set -o nounset
 set -o pipefail
 
-RPM_LIST=$WORKSPACE/ci/utilities/rpms_list
+RPM_LIST=$WORKSPACE/rpms_list
 RPM_WORKDIR=$WORKSPACE/rpmbuild
 RPM_DIR=$RPM_WORKDIR/RPMS/x86_64/
 cd $WORKSPACE/