Skip to content

fileTransformationsUtility should read EnvironmentName from Environment.Name instead of Release.Stage #532

@carlin-q-scott

Description

@carlin-q-scott

The fileTransformationsUtility used by IISWebAppDeploymentOnMachineGroup@0 can be used in a modern yaml based pipeline which does not set the classic Release.Stage variable to anything. It sets Environment.Name instead. This lib should be updated to support both variables.

Source code line: https://github.com/microsoft/azure-pipelines-tasks-common-packages/blob/main/common-npm-packages/webdeployment-common/fileTransformationsUtility.ts#L76

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