Prevent the literal "$(_AdditionalBuildParameters)" to be passed to the build script
This commit is contained in:
parent
ee9799118e
commit
a346e17c76
1 changed files with 2 additions and 3 deletions
|
@ -23,9 +23,8 @@ if /I "%SYSTEM_TEAMPROJECT%" == "Public" (
|
||||||
ECHO ##vso[task.setvariable variable=SignType]real
|
ECHO ##vso[task.setvariable variable=SignType]real
|
||||||
)
|
)
|
||||||
|
|
||||||
if "%AdditionalBuildParameters%" == "" (
|
if "%AdditionalBuildParameters%" == "$(_AdditionalBuildParameters)" (
|
||||||
REM Make sure the variable is set as empty in Azure pipelines, instead of not being set at all
|
REM Prevent the literal "$(_AdditionalBuildParameters)" to be passed to the build script
|
||||||
REM (which would cause the literal "$(AdditionalBuildParameters)" to be passed to the script)
|
|
||||||
ECHO Setting AdditionalBuildParameters to empty
|
ECHO Setting AdditionalBuildParameters to empty
|
||||||
ECHO ##vso[task.setvariable variable=AdditionalBuildParameters]
|
ECHO ##vso[task.setvariable variable=AdditionalBuildParameters]
|
||||||
) ELSE (
|
) ELSE (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue