Skip to content

Commit 70c0172

Browse files
Add dummy params for version+release macros file in 3.0. (#16338)
Co-authored-by: jslobodzian <joslobo@microsoft.com>
1 parent 36bc1c3 commit 70c0172

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.pipelines/templates/PackageBuild.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,19 @@ parameters:
145145
type: string
146146
default: "Package test"
147147

148+
# Dummy parameters required to support calls from pipelines working with 3.0+ AZL.
149+
- name: extraMacrosFiles
150+
type: object
151+
default: []
152+
153+
- name: outputArtifactsMacrosSubfolder
154+
type: string
155+
default: ""
156+
157+
- name: outputReleaseVersionsMacrosFileName
158+
type: string
159+
default: ""
160+
148161
steps:
149162
- template: ToolkitCheck.yml@${{ parameters.selfRepoName }}
150163
parameters:
@@ -154,7 +167,7 @@ steps:
154167
- script: |
155168
toolchain_archive="$(find "${{ parameters.inputArtifactsFolder }}" -name "${{ parameters.customToolchainTarballName }}" -print -quit)"
156169
if [[ ! -f "$toolchain_archive" ]]; then
157-
echo "ERROR: toolchain archive not found!" >&2
170+
echo "##[error]Toolchain archive not found!" >&2
158171
exit 1
159172
fi
160173
echo "##vso[task.setvariable variable=toolchainArchive]$toolchain_archive"
@@ -166,7 +179,7 @@ steps:
166179
- script: |
167180
rpms_archive="$(find "${{ parameters.inputArtifactsFolder }}" -name "${{ inputCacheRPMsTarball }}" -print -quit)"
168181
if [[ ! -f "$rpms_archive" ]]; then
169-
echo "ERROR: cache RPMs archive '${{ inputCacheRPMsTarball }}' not found!" >&2
182+
echo "##[error]Cache RPMs archive '${{ inputCacheRPMsTarball }}' not found!" >&2
170183
exit 1
171184
fi
172185

0 commit comments

Comments
 (0)