Mercurial > public > develkit
diff init70-github.gradle @ 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 | ab7103f0c154 |
children | de8c350c511a |
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