Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63496

App Service plugin does not recognize 'java' as Java Linux App

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins 2.235.5
      Azure App Service Plugin 1.0.0

      When we deploy our Java Spring Boot app, the plugin uses Git based deployment, while we expect that file based deployment should be used.

      We investigated this and it seems the plugin checks 'linuxFxVersion' for 'jre', while Azure returns 'JAVA|11-java11'. The offending line:

      https://github.com/jenkinsci/azure-app-service-plugin/blob/c7aa03c662c1cf83a9a31b77925c08d168792411/src/main/java/com/microsoft/jenkins/appservice/util/WebAppUtils.java#L26

      Via Azure CLI, we see this:

      az webapp config show --resource-group 'MY-GROUP' --name 'app-backend-staging' | grep linuxFxVersion 
      
      -> "linuxFxVersion": "JAVA|11-java11",

       

      The main problem is that the git based deployments time out. When we SSH into the App Service, we notice extremely high CPU usage when the deployment is busy. The deployment also fails with a timeout.

       

       

       

            azure_devops Azure DevOps
            fester fester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: