Check if distribution came from jenkins
[releng/builder.git] / jjb / integration / integration-detect-variables.sh
index 009e0fe4b45304a406a4614e27b4067bd5cab0e0..78067e9bd6a88203f7d70be3c6f64e51fbb41bb0 100644 (file)
@@ -20,7 +20,7 @@ if [ ${BUNDLE_URL} == 'last' ]; then
     BUNDLEFOLDER="${KARAF_ARTIFACT}-${BUNDLEVERSION}"
     BUNDLE="${KARAF_ARTIFACT}-${TIMESTAMP}.zip"
     ACTUAL_BUNDLE_URL="${NEXUSPATH}/${BUNDLEVERSION}/${BUNDLE}"
-elif [[ "${BUNDLE_URL}" == *"distribution-check"* ]]; then
+elif [[ "${BUNDLE_URL}" == *"jenkins"* ]]; then
     ACTUAL_BUNDLE_URL="${BUNDLE_URL}"
     BUNDLE="${BUNDLE_URL##*/}"
     BUNDLEFOLDER="${BUNDLE//.zip}"