mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-05-02 12:48:36 +02:00
Capture build-results without build-scan publication
The `buildScanPublished` is only called when a build scan is published by the build. Support other invocations by adding a `buildFinished` listener.
This commit is contained in:
parent
754892d4ae
commit
500607bc35
3 changed files with 33 additions and 9 deletions
|
@ -8,7 +8,6 @@ import static org.junit.Assume.assumeTrue
|
|||
class TestBuildResultOutput extends BaseInitScriptTest {
|
||||
def initScript = 'build-result-capture.init.gradle'
|
||||
|
||||
@Ignore
|
||||
def "produces build results file for build with #testGradleVersion"() {
|
||||
assumeTrue testGradleVersion.compatibleWithCurrentJvm
|
||||
|
||||
|
@ -22,7 +21,6 @@ class TestBuildResultOutput extends BaseInitScriptTest {
|
|||
testGradleVersion << ALL_VERSIONS
|
||||
}
|
||||
|
||||
@Ignore
|
||||
def "produces build results file for failing build with #testGradleVersion"() {
|
||||
assumeTrue testGradleVersion.compatibleWithCurrentJvm
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue