Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for failingTask (0.15 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TaskExecutionResultCrossVersionSpec.groovy

            given:
            buildFile << """
                task failingTask {
                    doFirst {
                        throw new GradleException('task failed intentionally')
                    }
                }
            """
    
            when:
            runBuild('failingTask')
    
            then:
            thrown(BuildException)
            with (taskFailureResult(':failingTask')) {
                !executionReasons.empty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top