microsoft / azure-maven-plugins

Maven plugins for Azure
MIT License
276 stars 150 forks source link

The telemetry data is not accurate #633

Closed sallyur closed 5 years ago

sallyur commented 5 years ago

Plugin name and version

Maven plugin for Azure web apps 1.6.0

Plugin configuration in your pom.xml

<plugins>
         <plugin>
            <groupId>com.microsoft.azure</groupId>
            <artifactId>azure-webapp-maven-plugin</artifactId>
             <!-- check Maven Central for the latest version -->
            <version>1.6.0</version>

            <configuration>
              <authentication>
                <serverId>azure-auth</serverId>
              </authentication>

              <!-- Web App information -->
              <resourceGroup>your-resource-group</resourceGroup>
              <appName>your-app-name</appName>
              <!-- Deploy Web App to the existing App Service Plan -->              
              <appServicePlanResourceGroup>your-resource-plan-group</appServicePlanResourceGroup>
              <appServicePlanName>your-resource-plan-name</appServicePlanName>
              <region>westus</region>
              <pricingTier>S1</pricingTier>

              <schemaVersion>v2</schemaVersion>
              <runtime>
                <os>docker</os>
                <image>springio/gs-spring-boot-docker:latest</image>
              </runtime>

              <!-- Deploy resources to root -->
              <deployment>
                <resources>
                  <resource>
                    <directory>${project.basedir}/target</directory>
                    <includes>
                      <include>*.war</include>
                    </includes>
                    <excludes>
                    </excludes>
                  </resource>
                  </resources>
              </deployment>

             <!-- Application Settings of your Web App -->
              <appSettings>
                  <property>
                     <name>PORT</name>
                     <value>8080</value>
                  </property>
               </appSettings>
            </configuration>
          </plugin>  
      </plugins>

Expected behavior

The telemetry data is accurate

Actual behavior

The telemetry data is not accurate and the operating system is "other" image image

Steps to reproduce the problem

  1. Prepare a webapp maven project with neweast maven plugin version
  2. Set the pom file as above
  3. Run "mvn clean package"
  4. Run "mvn azure-webapp:deploy"
Flanker32 commented 5 years ago

Fixed in #634