From 30767d74e6e49de11e51489738e0bfd2236dd280 Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Sun, 22 Oct 2023 12:58:28 +0200 Subject: [PATCH] [MCOMPILER-549] Improve log message in case of recompilation - fix jenkins build --- src/it/MCOMPILER-275_separate-moduleinfo/verify.groovy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/it/MCOMPILER-275_separate-moduleinfo/verify.groovy b/src/it/MCOMPILER-275_separate-moduleinfo/verify.groovy index baf07f7b..8bab9804 100644 --- a/src/it/MCOMPILER-275_separate-moduleinfo/verify.groovy +++ b/src/it/MCOMPILER-275_separate-moduleinfo/verify.groovy @@ -20,7 +20,9 @@ def log = new File( basedir, 'build.log').text assert log.count( "[INFO] Toolchain in maven-compiler-plugin: JDK" ) == 1 -assert log.count( "[INFO] Changes detected - recompiling the module!" ) == 3 +assert log.count( "[INFO] Recompiling the module because of changed source code." ) == 1 +assert log.count( "[INFO] Recompiling the module because of added or removed source files." ) == 1 +assert log.count( "[INFO] Recompiling the module because of changed dependency." ) == 1 // major_version: 52 = java8 -> execution id "base-compile" assert new File( basedir, 'target/classes/com/foo/MyClass.class' ).bytes[7] == 52