Mercurial > public > develkit
comparison init40-git.gradle @ 304:063d6b2cc5af
more printlns
author | Marc Davis <davis@ssdt-ohio.org> |
---|---|
date | Wed, 01 Feb 2023 08:29:33 -0500 |
parents | bd44c63562fc |
children | debf64aa7efc |
comparison
equal
deleted
inserted
replaced
303:bd44c63562fc | 304:063d6b2cc5af |
---|---|
805 def repositoryUrl = System.getenv('bamboo_planRepository_repositoryUrl') | 805 def repositoryUrl = System.getenv('bamboo_planRepository_repositoryUrl') |
806 println "Repo URL : ${repositoryUrl}" | 806 println "Repo URL : ${repositoryUrl}" |
807 if (repositoryUrl) { | 807 if (repositoryUrl) { |
808 println "pull from git repo - ${repositoryUrl}" | 808 println "pull from git repo - ${repositoryUrl}" |
809 println "git pull $repositoryUrl".execute().text | 809 println "git pull $repositoryUrl".execute().text |
810 println "run git branch" | |
811 println "git branch".execute().text | |
810 } | 812 } |
811 println "run git tags" | 813 println "run git tags" |
812 println "git tag".execute().text | 814 println "git tag".execute().text |
813 def versions = "git tag".execute().text.split("\n") | 815 def versions = "git tag".execute().text.split("\n") |
814 .findAll { it != null || it != "" } | 816 .findAll { it != null || it != "" } |