Skip to content

Commit 6b7671e

Browse files
author
Roman Glushko
committed
magento#184 Collect changed file information
1 parent 0add624 commit 6b7671e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gradle-tasks/staticChecks.gradle

+3-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ task checkstyle(type: Checkstyle) {
5353

5454
// Execute Checkstyle on all modified files
5555
task checkstyleCI(type: Checkstyle) {
56-
logging.captureStandardOutput LogLevel.DEBUG
57-
5856
def changedFiles = getChangedFiles()
5957
include changedFiles
6058
}
@@ -97,10 +95,13 @@ def getChangedFiles() {
9795
for (file in allFiles) {
9896
Matcher matcher = statusPattern.matcher(file)
9997
if (matcher.find()) {
98+
println "+ ${matcher.group(2)}"
10099
files.add(matcher.group(2))
101100
}
102101
}
103102

103+
println "Changed Files: ${files.count()}"
104+
104105
// Return the list of touched files
105106
files
106107
}

0 commit comments

Comments
 (0)