Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test for 'JAVA|' when determining if the App Service is a Java app #63

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

wimdeblauwe
Copy link

This PR fixes https://issues.jenkins-ci.org/browse/JENKINS-63496

I tested this on our own Jenkins for deployment of a Spring Boot application to Azure App Service with this code in our Jenkinsfile:

dir('target') {
                    sh '''
                        cp myapp-backend-*.jar app.jar
                        '''
                    zip zipFile: 'app.zip', glob: 'app.jar'

                    azureWebAppPublish azureCredentialsId: 'JenkinsMyAppBackendServicePrincipal',
                            resourceGroup: 'MYAPP-BACKEND',
                            appName: 'myapp-backend-staging',
                            filePath: "app.zip"
                }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants