Hi,
We want to deploy a WebApp from pipelines using the JAR or WAR file that we create in target file in the pipeline process. Is possible this or we only can use a zip file?
Thanks for the help.
Thanks for your question!
Currently, the azure-web-app-deploy pipe supports only zip files:
- step: name: "Build and test" script: - npm install - npm test - zip -r my-package-$BITBUCKET_BUILD_NUMBER.zip . artifacts: - my-package-*.zip - step: name: "Deploy to Azure" script: - pipe: atlassian/azure-web-apps-deploy:1.1.1 variables: AZURE_APP_ID: $AZURE_APP_ID AZURE_PASSWORD: $AZURE_PASSWORD AZURE_TENANT_ID: $AZURE_TENANT_ID AZURE_RESOURCE_GROUP: $AZURE_RESOURCE_GROUP AZURE_APP_NAME: 'my-site' ZIP_FILE: 'my-package-$BITBUCKET_BUILD_NUMBER.zip'
For your case you could implement your own custom pipe following this Azure guide.
Best regards,
Oleksandr Kyrdan
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.