Change-Id: Iabec6f4a67d200cc9e2800a1f3fc7c4d2ad6eb6a
Signed-off-by: Dan Radez <dradez@redhat.com>
parameters:
- string:
name: ARTIFACT_NAME
- default: ''
+ default: 'latest'
description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
- string:
name: BUILD_DIRECTORY
echo "--------------------------------------------------------"
echo
- if [[ -z "$ARTIFACT_NAME" ]]; then
+ if [[ ! "$ARTIFACT_NAME" == "latest" ]]; then
# if artifact name is passed the pull a
# specific artifact from artifacts.opnfv.org
RPM_INSTALL_PATH=$GS_URL/$ARTIFACT_NAME