Open hamadycisse opened 3 years ago
Hello
Gradle 6.7
When I run the following build script :
- $GRADLE_HOME/bin/gradle :initialize - $GRADLE_HOME/bin/gradle :deploy
The build continue even when the initialize step fails
> Task :shadowJar UP-TO-DATE Initializing the backend... Error refreshing state: AccessDenied: Access Denied status code: 403, request id: EEEEEEE7C7C228D1, host id: J======================================================================== > Task :initialize Error: Error loading state: AccessDenied: Access Denied status code: 403, request id: EEEEEEE7C7C228D1, host id: J======================================================================== > Task :deploy
The gradle task :deploy should not be executed when the :initialize task fails
Hello
Gradle 6.7
Actual Behavior:
When I run the following build script :
The build continue even when the initialize step fails
Expected Behavior:
The gradle task :deploy should not be executed when the :initialize task fails