changeset 360:8238fff451c9

Cygwin has an ENV that container 'CI'. Causing build issues. Just check for 'github' to determine if it is a local build
author davis@ssdt-ohio.org
date Wed, 15 Nov 2023 14:48:56 -0500
parents 77ca22c4a0b3
children 7b6d30651db7
files init70-github.gradle
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/init70-github.gradle	Mon Nov 13 10:29:55 2023 -0500
+++ b/init70-github.gradle	Wed Nov 15 14:48:56 2023 -0500
@@ -35,15 +35,9 @@
     hostname = 'unknown'
 }
 
-println "System Env"
-System.getenv().each {
-    "    -> " + it.toString()
-}
-
 //Determine if the build is a CI build.
 gradle.ext.bambooBuild = System.getenv().any {
-    it.key.toLowerCase().contains('ci') ||
-            it.key.toLowerCase().contains('github')
+    it.key.toLowerCase().contains('github')
 }
 
 gradle.ext.bambooLocalBuild = false