JAL-4409 Use fixed 'latest' artifact URL
authorBen Soares <b.soares@dundee.ac.uk>
Thu, 20 Jun 2024 18:27:41 +0000 (19:27 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Thu, 20 Jun 2024 18:27:41 +0000 (19:27 +0100)
build.gradle
gradle.properties

index 217ee28..97a41b0 100644 (file)
@@ -259,11 +259,14 @@ ext {
     // TODO: get bamboo build artifact URL for getdown artifacts
     getdownChannelName = string("${bamboo_planKey}/${JAVA_VERSION}")
 
-    if (bamboo_buildResultsUrl && bamboo_buildResultsKey) {
-      getdownAppBase = "${bamboo_buildResultsKey}/${bamboo_buildResultsArtifactPath}"
-    } else {
-      getdownAppBase = "${bamboo_channelbase}/${bamboo_planKey}${bamboo_getdown_channel_suffix}"
-    }
+    /**
+     * This URL doesn't work
+     * if (bamboo_buildResultsUrl && bamboo_buildResultsKey) {
+     *   getdownAppBase = "${bamboo_buildResultsKey}/${bamboo_buildResultsArtifactPath}"
+     * } else {
+     */
+    getdownAppBase = "${bamboo_channelbase}/${bamboo_planKey}${bamboo_getdown_channel_suffix}"
+    /* } */
     jvlChannelName += "_${getdownChannelName}"
     // automatically add the test group Not-bamboo for exclusion 
     if ("".equals(testng_excluded_groups)) { 
index 359f229..35aa95d 100644 (file)
@@ -186,9 +186,9 @@ imagemagick_convert = ~/buildtools/imagemagick/bin/convert
 bamboo_channelbase = https://builds.jalview.org/browse
 bamboo_planKey = 
 bamboo_getdown_channel_suffix = /latest/artifact/shared/getdown
-bamboo_buildResultsUrl =
-bamboo_buildResultsArtifactPath = /artifact/shared/getdown
-bamboo_buildResultsKey =
+#bamboo_buildResultsUrl =
+#bamboo_buildResultsArtifactPath = /artifact/shared/getdown
+#bamboo_buildResultsKey =
 
 eclipse_codestyle_file = utils/eclipse/JalviewCodeStyle.xml
 eclipse_extra_jdt_prefs_file = utils/eclipse/org.eclipse.jdt.core.jalview.prefs