Skip to content

Commit

Permalink
Added Continuous Integration Detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Eckel committed May 3, 2017
1 parent 7bf05f5 commit 73f7ebe
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ class TaggingPlugin implements Plugin<Project> {
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')) {
Expand Down

0 comments on commit 73f7ebe

Please sign in to comment.