diff --git a/cmd/artifactPrepareVersion_generated.go b/cmd/artifactPrepareVersion_generated.go index bb745b16f..759dc41bb 100644 --- a/cmd/artifactPrepareVersion_generated.go +++ b/cmd/artifactPrepareVersion_generated.go @@ -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"}}}}, }, }, }, diff --git a/resources/metadata/artifactPrepareVersion.yaml b/resources/metadata/artifactPrepareVersion.yaml index eb20fdf2b..44abf0577 100644 --- a/resources/metadata/artifactPrepareVersion.yaml +++ b/resources/metadata/artifactPrepareVersion.yaml @@ -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