Skip to content

Commit 73f7ebe

Browse files
author
Bruce Eckel
committed
Added Continuous Integration Detection
1 parent 7bf05f5 commit 73f7ebe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

buildSrc/src/main/groovy/com/mindviewinc/plugins/TaggingPlugin.groovy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ class TaggingPlugin implements Plugin<Project> {
1313
void apply(Project project) {
1414
boolean debug = project.hasProperty(DEBUG_PROJECT_PROPERTY_KEY) ? Boolean.valueOf(project.getProperty(DEBUG_PROJECT_PROPERTY_KEY)) : false
1515
List createdTasks = []
16+
boolean runningInCI = System.getenv('CI')
17+
boolean runningInTravis = System.getenv('TRAVIS')
18+
boolean runningInAppveyor = System.getenv('APPVEYOR')
19+
// println "runningInCI: " + runningInCI
1620

1721
project.projectDir.eachFileRecurse { file ->
1822
if (file.name.endsWith('.java')) {

0 commit comments

Comments
 (0)