From 73f7ebe085b2320c1d39f23f5507313bfe47062e Mon Sep 17 00:00:00 2001 From: Bruce Eckel Date: Wed, 3 May 2017 12:25:17 -0600 Subject: [PATCH] Added Continuous Integration Detection --- .../main/groovy/com/mindviewinc/plugins/TaggingPlugin.groovy | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildSrc/src/main/groovy/com/mindviewinc/plugins/TaggingPlugin.groovy b/buildSrc/src/main/groovy/com/mindviewinc/plugins/TaggingPlugin.groovy index 9e05de15..f0f0861b 100644 --- a/buildSrc/src/main/groovy/com/mindviewinc/plugins/TaggingPlugin.groovy +++ b/buildSrc/src/main/groovy/com/mindviewinc/plugins/TaggingPlugin.groovy @@ -13,6 +13,10 @@ class TaggingPlugin implements Plugin { void apply(Project project) { boolean debug = project.hasProperty(DEBUG_PROJECT_PROPERTY_KEY) ? Boolean.valueOf(project.getProperty(DEBUG_PROJECT_PROPERTY_KEY)) : false List createdTasks = [] + boolean runningInCI = System.getenv('CI') + boolean runningInTravis = System.getenv('TRAVIS') + boolean runningInAppveyor = System.getenv('APPVEYOR') + // println "runningInCI: " + runningInCI project.projectDir.eachFileRecurse { file -> if (file.name.endsWith('.java')) {