-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
bug fixes in Azure Webapp deploy task #11737
bug fixes in Azure Webapp deploy task #11737
Conversation
@bishal-pdMSFT can you review this PR. |
@vineetmimrot can you please add some details about the bug? |
Done. Can you please approve it. |
@@ -39,9 +39,7 @@ export class AzureRmWebAppDeploymentProvider implements IWebAppDeploymentProvide | |||
this.kuduService = new Kudu(this.publishProfileScmCredentials.scmUri, this.publishProfileScmCredentials.username, this.publishProfileScmCredentials.password); | |||
let resourceId = publishProfileEndpoint.resourceId; | |||
let resourceIdSplit = resourceId.split("/"); | |||
if (resourceIdSplit.length === 11) { | |||
this.slotName = resourceIdSplit[10]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we not just use this.taskParams.SlotName
for slotName
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the case of publish profile, the input fields related to webapp are redundant. The artifact will be deployed only at the scm url present in the publish profile, irrespective of what the user provides value into input fields.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense. Are the web app related inputs still visible in task ux?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets take this out of this PR
This PR addresses the following issues:
In case of publish profile scenario, change the slot name to "production", if the deployment is done on main webApp.
minor fix for printing application url on console log.