Compare commits

...

1 Commits
v4 ... main

Author SHA1 Message Date
Alexis Tual
70964b4c8c
Adapt tests to future new Build Scan publication message (#708)
Similar to https://github.com/gradle/actions/pull/651, a new Build Scan
publication message will be introduced in the next Develocity Gradle
plugin. This PR just adapts the test.
2025-08-18 21:20:55 +02:00

View File

@ -355,7 +355,7 @@ class TestDevelocityInjection extends BaseInitScriptTest {
}
void outputContainsBuildScanUrl(BuildResult result) {
def opt = ['Publishing build scan...', 'Publishing Build Scan...'].stream()
def opt = ['Publishing build scan...', 'Publishing Build Scan...', 'Publishing Build Scan to Develocity...'].stream()
.filter { result.output.contains("${it}\n${mockScansServer.address}s/$PUBLIC_BUILD_SCAN_ID") }.findFirst()
assert opt.isPresent()
def message = opt.get()