Skip to content

File name case sensitivity issue with template file #621

@PhilM-IT

Description

@PhilM-IT

The NPM package building the artifacts is using the following for the parameter file name (notice ARM is all caps).

ARMTemplateParametersForFactory.json

Line 551 of the PrePostDeploymentScript.Ver2.ps1 script to bulid the path for that file when not provided uses:

$ArmTemplateParameters = Join-Path -Path (Split-Path $ArmTemplate -Parent) -ChildPath 'ArmTemplateParametersForFactory.json'

This fails to find the file due to the case mismatch in the filename, mixed case of "Arm" instead of "ARM".

Can this be adjusted to address the issue?

It only causes problems on a linux based agent. Windows agents seem to be case insensitive and this doesn't cause a problem.

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