Skip to content

[BUG]: AzureAppServiceManage@0 swap behavior is unintuitive #21076

Open
@wboyd-aw

Description

@wboyd-aw

New issue checklist

Task name

AzureAppServiceManage@0

Task version

0

Issue Description

This line in particular: https://github.com/microsoft/azure-pipelines-tasks/blob/11aada8ad933976fab00bcb0812d4185f92b60b7/Tasks/AzureAppServiceManageV0/azureappservicemanage.ts#L114C34-L114C79

I would expect this combination to allow swapping between two non-production slots

sourceSlot: someSlot
targetSlot: someOtherSlot

But you actually have to specify it like this:

swapWithProduction: false
sourceSlot: someSlot
targetSlot: someOtherSlot

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

ubuntu-latest

Relevant log output

N/A

Full task logs with system.debug enabled

 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions