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

feat: support cpe credentials for multiple repos (#3641)

This commit is contained in:
Oliver Nocon
2022-03-17 08:01:00 +01:00
committed by GitHub
parent 4208bc050c
commit 504f076613
20 changed files with 167 additions and 3 deletions

View File

@ -362,6 +362,11 @@ func golangBuildMetadata() config.StepData {
{
Name: "targetRepositoryPassword",
ResourceRef: []config.ResourceReference{
{
Name: "commonPipelineEnvironment",
Param: "custom/rawRepositoryPassword",
},
{
Name: "commonPipelineEnvironment",
Param: "custom/repositoryPassword",
@ -376,6 +381,11 @@ func golangBuildMetadata() config.StepData {
{
Name: "targetRepositoryUser",
ResourceRef: []config.ResourceReference{
{
Name: "commonPipelineEnvironment",
Param: "custom/rawRepositoryUsername",
},
{
Name: "commonPipelineEnvironment",
Param: "custom/repositoryUsername",
@ -390,6 +400,11 @@ func golangBuildMetadata() config.StepData {
{
Name: "targetRepositoryURL",
ResourceRef: []config.ResourceReference{
{
Name: "commonPipelineEnvironment",
Param: "custom/rawRepositoryURL",
},
{
Name: "commonPipelineEnvironment",
Param: "custom/repositoryUrl",