mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-05-02 12:48:36 +02:00
Capture build results when GE plugin is applied but no build-scan is published
This commit is contained in:
parent
6001bc9edc
commit
3f2d9cde44
3 changed files with 46 additions and 18 deletions
|
@ -68,6 +68,20 @@ class TestBuildResultRecorder extends BaseInitScriptTest {
|
|||
testGradleVersion << ALL_VERSIONS
|
||||
}
|
||||
|
||||
def "produces build results file for #testGradleVersion with ge-plugin and no build scan published"() {
|
||||
assumeTrue testGradleVersion.compatibleWithCurrentJvm
|
||||
|
||||
when:
|
||||
declareGePluginApplication(testGradleVersion.gradleVersion)
|
||||
run(['help', '--no-scan'], initScript, testGradleVersion.gradleVersion)
|
||||
|
||||
then:
|
||||
assertResults('help', testGradleVersion, false, false)
|
||||
|
||||
where:
|
||||
testGradleVersion << ALL_VERSIONS
|
||||
}
|
||||
|
||||
def "produces build results file for failing build on #testGradleVersion with build scan published"() {
|
||||
assumeTrue testGradleVersion.compatibleWithCurrentJvm
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue