1
0
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:
Vyacheslav Starostin 2023-10-16 17:56:59 +06:00 committed by GitHub
parent 646d17bcfe
commit 3761a9f68a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -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"}}}},
},
},
},

View File

@ -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