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

how to deploy gradle spring boot application to GCP with pipeline

Is there any example to show how to deploy a gradle spring boot application to GCP using pipeline?

1 answer

0 votes

Hi @Kai Liu ,

You can use a new version of the pipe atlassian/google-app-engine-deploy:0.4.0.

To deploy Java Spring Boot application you should provide to pipe

DEPLOYABLES: 'build/staged-app/app.yaml' 

that available after gradle build command.

For example, your bitbucket-pipelines.yml can be:

image: atlassian/default-image:2

- step:
name: Deploy app
- pipe: atlassian/google-app-engine-deploy:0.4.0
PROJECT: 'pipes-java-gradle-spring-boot'
DEPLOYABLES: 'build/staged-app/app.yaml'
# DEPLOYABLES: 'src/main/WEB-INF/appengine-web.xml' # or you can provide web.xml
EXTRA_ARGS: '--verbosity=debug'



Suggest an answer

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

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,042 views 0 3
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