CompositeBuildConfigurationTimeResolveIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix task failure handling so that task failures from included builds are not lost. Previously, a task exception would be ignored if no task in the main build directly depended on the failed task and was still scheduled to run at the point in time where the task failed. In some cases this resulted in the build being reported as successful when in fact some task in an included build had failed.

This change means that some exceptions will be reported twice, but this is better than not at all. A subsequent change will fix this.

This change also decouples waiting for completion of tasks in an included build from firing the build finished events and other cleanup. Now all tasks in all builds are completed before finishing up any builds.

    • -8
    • +0
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy
  1. … 31 more files in changeset.
Fix CompositeBuildEventsIntegrationTest usage of output test fixtures

    • -5
    • +5
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy
  1. … 6 more files in changeset.
Add some more assertion methods to `ExecutionResult` and change several tests and utility methods to use these methods instead of reimplementing the logic.

    • -1
    • +1
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy
  1. … 11 more files in changeset.
Handle spurious build execution when executing included build twice

    • -1
    • +1
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy
Better test coverage for configuration-time resolve of included build

    • -0
    • +29
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy
Fix tests for configuration-time resolve in a composite build

    • -7
    • +11
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy
Add tests for configuration-time resolve in composite builds

    • -0
    • +160
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy