mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
artifactPrepareVersion: support conditions for customTLSCertificateLinks parameter (#4631)
* Add conditions for customTlsCertificateLinks * go generate
This commit is contained in:
parent
646d17bcfe
commit
3761a9f68a
@ -527,6 +527,7 @@ func artifactPrepareVersionMetadata() config.StepData {
|
||||
Mandatory: false,
|
||||
Aliases: []config.Alias{},
|
||||
Default: []string{},
|
||||
Conditions: []config.Condition{{ConditionRef: "strings-equal", Params: []config.Param{{Name: "buildTool", Value: "maven"}, {Name: "buildTool", Value: "gradle"}}}},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -345,6 +345,13 @@ spec:
|
||||
- PARAMETERS
|
||||
- STAGES
|
||||
- STEPS
|
||||
conditions:
|
||||
- conditionRef: strings-equal
|
||||
params:
|
||||
- name: buildTool
|
||||
value: maven
|
||||
- name: buildTool
|
||||
value: gradle
|
||||
outputs:
|
||||
resources:
|
||||
- name: commonPipelineEnvironment
|
||||
|
Loading…
Reference in New Issue
Block a user