JetBrains / kotless

Kotlin Serverless Framework
Apache License 2.0
1.15k stars 58 forks source link

initialize task fails silently #91

Open hamadycisse opened 3 years ago

hamadycisse commented 3 years ago

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