Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Google App Engine Deploy pipeline problems Java

Hi, in my project, I have added a Google App Engine Deployment script. I have specified the latest version (0.3.1), and get a problem that says that a JRE 7+ is required. I then downgraded the version to 0.3.0 and I seem to get a deployment. However, I have a problem in that even though the build says everything is successful, I cannot get a response from the url that my app is deployed to. Running the appengine:deploy on the exact same code base on my local machine however seems to deploy correctly. No Noticeable differences in the logs between them. Do I need to set the promote and stop_previous_version variables to true?


I am using the Standard App Engine ( not flexible). I have a appengine-web.xml in my project which I have set in the bitbucket pipeline - to src/main/webapp/appengine-web.xml. I am running a spring boot application, and am using Maven.


What should I be looking for as the key difference here?

2 answers

0 votes

Hi @Andrew Reed . The support for deploying Java applications to GAE is currently limited. We're working on adding the full support for deploying Java apps in the upcoming versions of the google-app-engine-deploy pipe.

0 votes

Hi @Andrew Reed ,

A new version of the pipe atlassian/google-app-engine-deploy:0.4.0 is released.

In the current release, we extend support for deploy Java app.
The pipe includes:

  • java -version openjdk version "1.8.0_212"
  • The component [app-engine-java]

In your case, to deploy a Java Spring Boot application you should provide to the pipe

DEPLOYABLES: 'target/appengine-staging/app.yaml'

that available after mvn appengine:stage command.

For example, bitbucket-pipelines.yml can be:

image: atlassian/default-image:2

- step:
name: Deploy Spring Boot app
- pipe: atlassian/google-app-engine-deploy:0.4.0
PROJECT: 'pipes-java-maven-spring-boot'
DEPLOYABLES: 'target/appengine-staging/app.yaml'
EXTRA_ARGS: '--verbosity=debug'

Also the pipe atlassian/google-app-engine-deploy:0.4.0 includes pre-installed additional components.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

3,767 views 64 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you