Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Zip Deploy fails for branches other than master #3350

Description

@sysadmin256

I think this is similar to issue #3111 but the fix there isn't working for me. I have an Azure function app (built on PowerShell) that fails to deploy via DevOps Pipeline when deploying to a branch other than master.

ChangeSetId(Test) does not match 3305e1c221984b2692fb5e6fff91f60e, 'master' or 'HEAD'

I've found that if I use the 'Disconnect' option in the Azure portal -> Function app -> Deployment Center, then run the pipeline again it will succeed. The Deployment Center will then update to show it's connected but references the branch of master even though the deployment is from my 'Test' branch. See the picture below.

image

I checked c:\home\site\deployments\settings.xml and it does correctly reference the 'Test' branch.

Any help is appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions