changeset 340:5b1ab7484ad7

testing
author marc_davis <davis@ssdt-ohio.org>
date Tue, 30 May 2023 13:30:44 -0400
parents 21b015e926ff
children b892973af800
files init70-github.gradle
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/init70-github.gradle	Tue May 30 13:26:58 2023 -0400
+++ b/init70-github.gradle	Tue May 30 13:30:44 2023 -0400
@@ -710,7 +710,6 @@
 }
 
 
-@ToString(includes=['name','shortName','buildVersion','imageId','deployName'],includeNames= true)
 class BranchInfo {
     def name
     def stream = "none"
@@ -718,6 +717,10 @@
     def changeset = ""
     def version
 
+    String toString() {
+        "{name:$name, stream:$stream, buildNumber:$buildNumber, changeSet:$changeset, version:$version"
+    }
+
     BranchInfo(name) {
         this.name = name
         if (!name) {
@@ -804,9 +807,7 @@
 
             def results = (branches + versions).sort { v1, v2 -> v2 <=> v1 }
 
-            results.each {
-                println it
-            }
+            results.each { println it.toString() }
 
             if (results.isEmpty()) {
                 return new Version().nextSnapshot()