comparison init40-git.gradle @ 301:74d939ce70d5

more printlns
author Marc Davis <davis@ssdt-ohio.org>
date Wed, 01 Feb 2023 08:12:46 -0500
parents eaed73a5ec1d
children e93dd94dd831
comparison
equal deleted inserted replaced
300:eaed73a5ec1d 301:74d939ce70d5
801 801
802 private Version findSnapshotVersion() { 802 private Version findSnapshotVersion() {
803 println "findSnapshotVersion()" 803 println "findSnapshotVersion()"
804 try { 804 try {
805 def repositoryUrl = System.getenv('bamboo_planRepository_repositoryUrl') 805 def repositoryUrl = System.getenv('bamboo_planRepository_repositoryUrl')
806 println "Repo URL : ${repositoryUrl}"
806 if (repositoryUrl) { 807 if (repositoryUrl) {
807 println "git pull $repositoryUrl".execute().text 808 println "git pull $repositoryUrl".execute().text
808 } 809 }
809 println "git tag".execute().text 810 println "git tag".execute().text
810 def versions = "git tag".execute().text.split("\n") 811 def versions = "git tag".execute().text.split("\n")