Skip to content

Commit 30767d7

Browse files
[MCOMPILER-549] Improve log message in case of recompilation - fix jenkins build
1 parent 628c333 commit 30767d7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/it/MCOMPILER-275_separate-moduleinfo/verify.groovy

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ def log = new File( basedir, 'build.log').text
2020

2121
assert log.count( "[INFO] Toolchain in maven-compiler-plugin: JDK" ) == 1
2222

23-
assert log.count( "[INFO] Changes detected - recompiling the module!" ) == 3
23+
assert log.count( "[INFO] Recompiling the module because of changed source code." ) == 1
24+
assert log.count( "[INFO] Recompiling the module because of added or removed source files." ) == 1
25+
assert log.count( "[INFO] Recompiling the module because of changed dependency." ) == 1
2426

2527
// major_version: 52 = java8 -> execution id "base-compile"
2628
assert new File( basedir, 'target/classes/com/foo/MyClass.class' ).bytes[7] == 52

0 commit comments

Comments
 (0)