Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MCOMPILER-549] Improve log message in case of recompilation - fix jenkins build #203

Merged
merged 1 commit into from
Oct 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/it/MCOMPILER-275_separate-moduleinfo/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down