Skip to content

Commit 33e159c

Browse files
committed
Forward condition down and fix config
1 parent 359005f commit 33e159c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

eng/pipelines/common/templates/global-build-step.yml

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ parameters:
66
crossArg: $(crossArg)
77
displayName: Build product
88
container: ''
9+
condition: succeeded()
910

1011
steps:
1112
- script: $(Build.SourcesDirectory)$(dir)build$(scriptExt) -ci ${{ parameters.archParameter }} $(_osParameter) ${{ parameters.crossArg }} ${{ parameters.buildArgs }} $(_officialBuildParameter) $(_buildDarwinFrameworksParameter) $(_overrideTestScriptWindowsCmdParameter)
@@ -14,3 +15,4 @@ steps:
1415
continueOnError: ${{ parameters.shouldContinueOnError }}
1516
${{ if ne(parameters.container, '') }}:
1617
target: ${{ parameters.container }}
18+
condition: ${{ parameters.condition }}

eng/pipelines/runtime.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ extends:
119119
parameters:
120120
packageType: rpm
121121
target: rpmpkg
122-
packagingArgs: -c $(_BuildConfig) /p:BuildRpmPackage=true
122+
packagingArgs: -c Release /p:BuildRpmPackage=true
123123
condition: and(succeeded(), eq(variables.osSubgroup, ''))
124124
condition: >-
125125
or(

0 commit comments

Comments
 (0)