1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-18 05:18:24 +02:00

add access_token alias to artifactPrepareVersion (#3588)

Co-authored-by: Anil Keshav <anil.keshav@sap.com>
This commit is contained in:
Maurice Breit 2022-02-28 13:00:02 +01:00 committed by GitHub
parent 8ced7f8184
commit 246d37a2fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -391,7 +391,7 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Aliases: []config.Alias{},
Aliases: []config.Alias{{Name: "access_token"}},
Default: os.Getenv("PIPER_password"),
},
{

View File

@ -190,6 +190,8 @@ spec:
- STAGES
- PARAMETERS
- name: password
aliases:
- name: access_token
type: string
description: Password/token for git authentication.
scope: