File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 7
7
- ${{ each job_data in parameters.images }} :
8
8
- job : pkg_${{ job_data.job }}
9
9
displayName : " Prepare Image Package - ${{ job_data.displayName }} -"
10
+ # If archiveVersion is empty then the respective component does not exist in that release train
11
+ condition : and(succeeded(), ne(variables['archiveVersion'], ''))
10
12
${{ if job_data.strategy }} :
11
13
strategy : ${{ job_data.strategy }}
12
14
${{ if job_data.dependsOn }} :
@@ -76,15 +78,15 @@ jobs:
76
78
- task : ShellScript@2
77
79
displayName : " Package with DropGZ"
78
80
condition : and(
79
- succeeded(),
81
+ succeeded(),
80
82
eq(variables.packageWithDropGZ, 'True'))
81
83
inputs :
82
84
scriptPath : $(REPO_ROOT)/.pipelines/build/scripts/dropgz.sh
83
85
84
86
- ${{ if not(contains(job_data.job, 'linux')) }} :
85
87
- task : onebranch.pipeline.signing@1
86
88
condition : and(
87
- succeeded(),
89
+ succeeded(),
88
90
eq(variables.packageWithDropGZ, 'True'))
89
91
inputs :
90
92
command : ' sign'
94
96
95
97
# OneBranch artifacts are stored on a Windows machine which obliterates
96
98
# Linux file permissions.
97
- # This task is added (along with ob_extract_root_artifact in jobs that
99
+ # This task is added (along with ob_extract_root_artifact in jobs that
98
100
# download the artifact) to protect those file permissions from changing
99
101
# during image build time.
100
102
#
You can’t perform that action at this time.
0 commit comments