Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed with an exception. #16

Closed
bobaikato opened this issue Feb 18, 2019 · 4 comments
Closed

Build failed with an exception. #16

bobaikato opened this issue Feb 18, 2019 · 4 comments

Comments

@bobaikato
Copy link

Configure project :
WARNING: You are a using release candidate 2.0.0-rc5. Behavior of this plugin has changed since 1.3.5. Please see release notes at: https://github.com/GoogleCloudPlatform/app-gradle-plugin.
Missing a feature? Can't get it to work?, please file a bug at: https://github.com/GoogleCloudPlatform/app-gradle-plugin/issues.
ERROR: (gcloud.app.deploy) The current Google Cloud project [h1r4-maven-repo] does not contain an App Engine application. Use gcloud app create to initialize an App Engine application within the project.

Task :appengineDeploy FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':appengineDeploy'.

com.google.cloud.tools.appengine.AppEngineException: com.google.cloud.tools.appengine.operations.cloudsdk.process.ProcessHandlerException: com.google.cloud.tools.appengine.AppEngineException: Non zero exit: 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 13s
6 actionable tasks: 2 executed, 4 up-to-date

@renaudcerrato
Copy link
Owner

renaudcerrato commented Feb 18, 2019 via email

@bobaikato
Copy link
Author

bobaikato commented Feb 18, 2019

Hi @renaudcerrato I'm using the terminal directly on Google Cloud. Does that count?

@renaudcerrato
Copy link
Owner

Looking at it a second time, it seems you just forgot to create a google app engine project beforehand: gcloud app create

@renaudcerrato
Copy link
Owner

Or just use that link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants