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.
...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...
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