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

How to deploy springboot Application to Azure App Service with pipelines

PhilippHabele June 13, 2018
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
Atlassian Team members are employees working across the company in a wide variety of roles.
June 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
AUG Leaders

Atlassian Community Events