diff options
author | Dan Radez <dradez@redhat.com> | 2015-11-30 11:52:43 -0500 |
---|---|---|
committer | Dan Radez <dradez@redhat.com> | 2015-11-30 11:53:48 -0500 |
commit | 40a28d5110a9a0b3d913b23c49f46269254f7aa8 (patch) | |
tree | 89341c5246a4071630fdd6d561ab8cdc312b07d6 | |
parent | edc3e8764640a8bd1b9987bbeddbf5bcb64ebc75 (diff) |
do not upload Apex artifacts when daily fails
Change-Id: Id2a4beef1f404d383d081d50d3fca7139659ea95
Signed-off-by: Dan Radez <dradez@redhat.com>
-rw-r--r-- | jjb/apex/apex.yml | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml index 376515b95..60554b3ae 100644 --- a/jjb/apex/apex.yml +++ b/jjb/apex/apex.yml @@ -188,8 +188,8 @@ builders: - 'apex-build' - - 'apex-upload-artifact' - 'apex-deploy-virtual' + - 'apex-upload-artifact' - 'apex-workspace-cleanup' ######################## @@ -317,20 +317,9 @@ echo "--------------------------------------------------------" echo - # check if we got the file - if [[ -f opnfv.properties ]]; then - # source the file so we get OPNFV vars - source opnfv.properties - RPM_INSTALL_PATH=build_output/$(basename $OPNFV_RPM_URL) - else - # get the latest.properties file in order to get info regarding latest artifact - curl -s -o $WORKSPACE/opnfv.properties http://$GS_URL/latest.properties - [[ -f opnfv.properties ]] || exit 1 - - # source the file so we get OPNFV vars - source opnfv.properties - RPM_INSTALL_PATH=$RPM_URL - fi + # source the file so we get OPNFV vars + source opnfv.properties + RPM_INSTALL_PATH=build_output/$(basename $OPNFV_RPM_URL) # update / install the new rpm if rpm -q opnfv-apex > /dev/null; then |