1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

Configure alias for extension (#1569)

Restore compatibility with old parameter name to avoid breaking changes.



Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
This commit is contained in:
Florian Wilhelm 2020-05-19 17:05:11 +02:00 committed by GitHub
parent 09b2ddbafa
commit 550651187d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -173,7 +173,7 @@ func mtaBuildMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"}, Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string", Type: "string",
Mandatory: false, Mandatory: false,
Aliases: []config.Alias{}, Aliases: []config.Alias{{Name: "extension"}},
}, },
{ {
Name: "platform", Name: "platform",

View File

@ -58,6 +58,8 @@ spec:
- STEPS - STEPS
mandatory: false mandatory: false
default: default:
aliases:
- name: extension
- name: platform - name: platform
type: string type: string
description: "mtaBuildTool 'cloudMbt' only: The target platform to which the mtar can be deployed." description: "mtaBuildTool 'cloudMbt' only: The target platform to which the mtar can be deployed."