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

deployment will not be conducted in the current, active, default subscription using Cloud Shell #628

Closed
yucwan opened this issue Apr 17, 2019 · 2 comments

Comments

@yucwan
Copy link
Contributor

yucwan commented Apr 17, 2019

Plugin name and version

Maven Plugin for Azure Web Apps 1.5.4

Plugin configuration in your pom.xml

com.microsoft.azure azure-webapp-maven-plugin 1.5.4 v2 ${RESOURCEGROUP_NAME} ${WEBAPP_NAME} ${REGION}
        <!-- Java Runtime Stack for App on Linux-->
        <runtime>
            <os>linux</os>
            <javaVersion>jre8</javaVersion>
            <webContainer>tomcat 8.5</webContainer>
        </runtime> 
        <deployment>
            <resources>
                <resource>
                    <directory>${project.basedir}/target</directory>
                    <includes>
                        <include>*.war</include>
                    </includes>
                </resource>
            </resources>
        </deployment>
    </configuration>
</plugin>

Expected behavior

Deploy web app in the current subscription that is set up in az account show.

Actual behavior

Tying to deploy in the subscription at the top of az account list.

Steps to reproduce the problem

follow the Quickstart at:
https://docs.microsoft.com/en-us/azure/app-service/containers/quickstart-java
deployment will not be conducted in the right subscription using Cloud Shell if you have multiple subscriptions.

Workaround

in plugin configuration, add:

<subscriptionId>${SUBSCRIPTIONID}</subscriptionId>
@yucwan
Copy link
Contributor Author

yucwan commented Apr 17, 2019

#289

@Flanker32
Copy link
Member

Fixed om #665

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

No branches or pull requests

2 participants