mirror of
				https://github.com/gradle/gradle-build-action.git
				synced 2025-11-04 18:08:57 +08:00 
			
		
		
		
	Capture build results when GE plugin is applied but no build-scan is published
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user