This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-invoker-plugin.git
commit 426d48dcd8b59deff295fee4fe672189e270c8ea Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Thu Nov 5 01:49:11 2026 +0000 Name the shared build.log assumption in the invoker.goals.N verify scripts --- src/it/rerun-build-invoker-test/verify.groovy | 1 + src/it/script-streamLogs/verify.groovy | 1 + 2 files changed, 2 insertions(+) diff --git a/src/it/rerun-build-invoker-test/verify.groovy b/src/it/rerun-build-invoker-test/verify.groovy index 20aa187..69c739c 100644 --- a/src/it/rerun-build-invoker-test/verify.groovy +++ b/src/it/rerun-build-invoker-test/verify.groovy @@ -18,6 +18,7 @@ */ // both invocations of this IT write to build.log, the second one starts with the header of this project +// (the invoker renames build.log only when it reruns a failed job, so the invocations of invoker.goals.N share one file) def buildLog = new File(basedir, 'build.log').text String header = '[INFO] Building rerun-build-invoker-test 1.0-SNAPSHOT' int second = buildLog.indexOf(header, buildLog.indexOf(header) + 1) diff --git a/src/it/script-streamLogs/verify.groovy b/src/it/script-streamLogs/verify.groovy index 39e88a0..298e1b5 100644 --- a/src/it/script-streamLogs/verify.groovy +++ b/src/it/script-streamLogs/verify.groovy @@ -20,6 +20,7 @@ def FS = File.separator // both invocations of this IT write to build.log, the second one starts with the header of this project: +// (the invoker renames build.log only when it reruns a failed job, so the invocations of invoker.goals.N share one file) // the first has streamLogs=false, the second streamLogs=true def buildLog = new File(basedir, 'build.log').text String header = '[INFO] Building script-streamLogs 1.0-SNAPSHOT'
