JAL-4409 Changes in BUILD channel appbase to tie in with Getdown DEVELOP Launcher...
authorBen Soares <b.soares@dundee.ac.uk>
Thu, 20 Jun 2024 17:39:13 +0000 (18:39 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Thu, 20 Jun 2024 17:39:13 +0000 (18:39 +0100)
build.gradle
gradle.properties

index d057994..217ee28 100644 (file)
@@ -257,9 +257,13 @@ ext {
 
     case "BUILD":
     // TODO: get bamboo build artifact URL for getdown artifacts
-    getdown_channel_base = bamboo_channelbase
     getdownChannelName = string("${bamboo_planKey}/${JAVA_VERSION}")
-    getdownAppBase = string("${bamboo_channelbase}/${bamboo_planKey}${bamboo_getdown_channel_suffix}/${JAVA_VERSION}")
+
+    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 e5b2f12..359f229 100644 (file)
@@ -185,7 +185,10 @@ imagemagick_convert = ~/buildtools/imagemagick/bin/convert
 
 bamboo_channelbase = https://builds.jalview.org/browse
 bamboo_planKey = 
-bamboo_getdown_channel_suffix = /latest/artifact/shared/getdown-build-for-website/default
+bamboo_getdown_channel_suffix = /latest/artifact/shared/getdown
+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