JAL-3289 bamboo properties for ‘BUILD’ getdown channel
authorJim Procter <jprocter@issues.jalview.org>
Wed, 10 Jul 2019 12:55:56 +0000 (13:55 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Wed, 10 Jul 2019 12:55:56 +0000 (13:55 +0100)
build.gradle
gradle.properties

index 0bb89f9..09d20f3 100644 (file)
@@ -61,6 +61,9 @@ ext {
 
     case "BUILD":
     // TODO: get bamboo build artifact URL for getdown artifacts
+    getdown_channel_base = bamboo_channelbase
+    getdown_channel_name = bamboo_planKey + '/'+JAVA_VERSION
+    getdown_app_base = bamboo_channelbase + bamboo_planKey + bamboo_getdown_channel_suffix + '/'+JAVA_VERSION
     getdown_app_dir = getdown_app_dir_alt
     buildProperties = jalviewDir + "/" + classesDir +"/" + buildPropertiesFile
     break
index 53189f0..2dbdad3 100644 (file)
@@ -135,3 +135,8 @@ getdown_install_dir = install
 getdown_rsync_dest = /Volumes/jalview/docroot/getdown
 reportRsyncCommand =
 RUNRSYNC=false
+
+bamboo_channelbase = https://builds.jalview.org/browse
+bamboo_planKey = 
+bamboo_getdown_channel_suffix = /latest/artifact/shared/getdown-channel
\ No newline at end of file