kotless icon indicating copy to clipboard operation
kotless copied to clipboard

initialize task fails silently

Open hamadycisse opened this issue 4 years ago • 0 comments

Hello

Gradle 6.7

Actual Behavior:

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

Expected Behavior:

The gradle task :deploy should not be executed when the :initialize task fails

hamadycisse avatar Jan 12 '21 22:01 hamadycisse