1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-03-03 15:02:35 +02:00

feat(mavenBuild): add the possibility to define stash groups need to be stashed/unstashed (#4573)

* Add stash param to mavenBuild

* go generate

* Delete default stash group

---------

Co-authored-by: Anil Keshav <anil.keshav@sap.com>
This commit is contained in:
Vyacheslav Starostin 2023-10-09 15:52:13 +06:00 committed by GitHub
parent 40e13f1635
commit 7ab2386337
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -283,6 +283,9 @@ func mavenBuildMetadata() config.StepData {
Secrets: []config.StepSecrets{
{Name: "altDeploymentRepositoryPasswordId", Description: "Jenkins credentials ID containing the artifact deployment repository password.", Type: "jenkins"},
},
Resources: []config.StepResources{
{Type: "stash"},
},
Parameters: []config.StepParameters{
{
Name: "pomPath",

View File

@ -231,6 +231,8 @@ spec:
resourceRef:
- name: commonPipelineEnvironment
param: custom/buildSettingsInfo
resources:
- type: stash
outputs:
resources:
- name: commonPipelineEnvironment