Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to deploy springboot Application to Azure App Service with pipelines

PhilippHabele
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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