diff init40-git.gradle @ 310:7bf282e58ce7

remove printlns
author Marc Davis <davis@ssdt-ohio.org>
date Wed, 01 Feb 2023 10:42:12 -0500
parents b80dc2412882
children 0a6b93585fbf
line wrap: on
line diff
--- a/init40-git.gradle	Wed Feb 01 08:54:08 2023 -0500
+++ b/init40-git.gradle	Wed Feb 01 10:42:12 2023 -0500
@@ -722,14 +722,6 @@
     gradle.ext.branchStream = gradle.branch.stream
     gradle.ext.branchHash = gradle.branch.hash
     println "${gradle.hgRepositoryUrl} ${gradle.branch} ${gradle.branch.version}"
-
-    println "----- Branch Info ----------------------"
-    println "Name         : $branchInfo.name"
-    println "Stream       : $branchInfo.stream"
-    println "Build Number : $branchInfo.buildNumber"
-    println "Change Set   : $branchInfo.changeset"
-    println "Version      : $branchInfo.version"
-    println "----------------------------------------"
 }
 
 
@@ -803,19 +795,9 @@
         println "findSnapshotVersion()"
         try {
             def repositoryUrl = System.getenv('bamboo_planRepository_repositoryUrl')
-            println "Repo URL : ${repositoryUrl}"
             if (repositoryUrl) {
-                println "pull from git repo - ${repositoryUrl}"
                 println "git pull $repositoryUrl".execute().text
-                println "run git branch"
-                println "git branch".execute().text
-                println "checkout main"
-                println "git checkout main".execute().text
             }
-            println "run git tags"
-            println "git fetch --tags --all --verbose".execute().text
-            println "run git describe --tags --abbrev=0"
-            println "git describe --tags --abbrev=0".execute().text
             def versions = "git tag".execute().text.split("\n")
                     .findAll { it != null || it != "" }
                     .collect { it.replace("v", "") }