Forums

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

Issue deploying jar on Azure spring apps!

Pandhi Jaya Prakash
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!
October 3, 2022

Hi team,

 

I have been using bitbucket pipeline to build the java code(Jar) through Gradle as my build tool and able to get the clean build and trying to deploy jar in to azure spring apps through azure service principal and passed all azure cli commands to deploy jar into spring apps.

getting below error so please help to get rid of this issue.

ERROR: The command requires the extension spring. Unable to prompt for extension install confirmation as no tty available. Run 'az config set extension.use_dynamic_install=yes_without_prompt' to allow installing extensions without prompt.

 

Note: even though i have included below extension commands to update azure spring boot extensions.

CLI_COMMAND: 'az config set extension.use_dynamic_install=yes_without_prompt'
CLI_COMMAND: 'az extension add --name spring'
Thanks in advance,

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 5, 2022

Hi @Pandhi Jaya Prakash and welcome to the community!

We would need some additional info to better be able to help you:

  • Are you using the azure-cli-run pipe?

  • Can you share the exact command from the bitbucket-pipelines.yml that is failing you with this error? (please make sure to sanitize any private/sensitive data in the content, if any, before sharing here)

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events