updating shell script
# This value should not be updated - the Jenkins
# build process will, for ANY snapshot build,
-# override the hub-detect-latest-SNAPSHOT.jar file on
-# gh-pages.
+# override the hub-detect-latest-SNAPSHOT.jar file in
+# artifactory.
DETECT_LATEST_SNAPSHOT=hub-detect-latest-SNAPSHOT.jar
# DETECT_LATEST_RELEASE_VERSION should be set in your
@@ -56,14 +56,14 @@ get_detect() {
if [ $DETECT_USE_SNAPSHOT -eq 1 ]; then
echo "will look for snapshot: ${DETECT_LATEST_SNAPSHOT}"
DETECT_DESTINATION="${DETECT_JAR_PATH}/${DETECT_LATEST_SNAPSHOT}"
- DETECT_SOURCE="https://blackducksoftware.github.io/hub-detect/${DETECT_LATEST_SNAPSHOT}"
+ DETECT_SOURCE="https://test-repo.blackducksoftware.com/artifactory/bds-integrations-snapshot/com/blackducksoftware/integration/hub-detect/latest-SNAPSHOT/${DETECT_LATEST_SNAPSHOT}"
else
if [ -z "${DETECT_RELEASE_VERSION}" ]; then
- DETECT_RELEASE_VERSION=$(curl http://repo2.maven.org/maven2/com/blackducksoftware/integration/hub-detect/maven-metadata.xml | grep latest | sed -e 's@<latest>@@' -e 's@</latest>@@' -e 's/^[ \t]*//')
- DETECT_SOURCE="http://repo2.maven.org/maven2/com/blackducksoftware/integration/hub-detect/${DETECT_RELEASE_VERSION}/hub-detect-${DETECT_RELEASE_VERSION}.jar"
+ DETECT_RELEASE_VERSION=$(curl https://test-repo.blackducksoftware.com/artifactory/bds-integrations-release/com/blackducksoftware/integration/hub-detect/maven-metadata.xml | grep latest | sed -e 's@<latest>@@' -e 's@</latest>@@' -e 's/^[ \t]*//')
+ DETECT_SOURCE="https://test-repo.blackducksoftware.com/artifactory/bds-integrations-release/com/blackducksoftware/integration/hub-detect/${DETECT_RELEASE_VERSION}/hub-detect-${DETECT_RELEASE_VERSION}.jar"
DETECT_DESTINATION="${DETECT_JAR_PATH}/hub-detect-${DETECT_RELEASE_VERSION}.jar"
else
- DETECT_SOURCE="http://repo2.maven.org/maven2/com/blackducksoftware/integration/hub-detect/${DETECT_RELEASE_VERSION}/hub-detect-${DETECT_RELEASE_VERSION}.jar"
+ DETECT_SOURCE="https://test-repo.blackducksoftware.com/artifactory/bds-integrations-release/com/blackducksoftware/integration/hub-detect/${DETECT_RELEASE_VERSION}/hub-detect-${DETECT_RELEASE_VERSION}.jar"
DETECT_DESTINATION="${DETECT_JAR_PATH}/hub-detect-${DETECT_RELEASE_VERSION}.jar"
fi
echo "will look for : ${DETECT_SOURCE}"
