Create
cancel
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

How to deploy springboot Application to Azure App Service with pipelines Edited

Currently I have a Spring Boot Application in bitbucket. I can build this application with maven commands in my Master Pipeline. But how do I deploy the jar to Azure App Services?

1 answer

0 votes
mwatson Atlassian Team Jun 13, 2018

You should install the azure CLI into your build and use it's commands to deploy the jar.

There is a similar question here: https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-use-the-BB-Pipelines-Azure-Deployment/qaq-p/565498

This article, if you go past the instructions on creating an Azure environment and app, has examples of how to push a sprintgboot fat jar to your application

The best approach might be to write a script in your repo that builds your code and another script that does the deploy - it is then much easier to test this locally and get it working and then reference those scripts from the bitbucket-pipelines.yml file.

Hope this helps.

Suggest an answer

Log in or Sign up to answer
TAGS
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,761 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