diff --git a/cmd/mavenBuild_generated.go b/cmd/mavenBuild_generated.go index ba17bd1f8b..5582a258f4 100644 --- a/cmd/mavenBuild_generated.go +++ b/cmd/mavenBuild_generated.go @@ -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", diff --git a/resources/metadata/mavenBuild.yaml b/resources/metadata/mavenBuild.yaml index 9fa1693757..8fd2365e2c 100644 --- a/resources/metadata/mavenBuild.yaml +++ b/resources/metadata/mavenBuild.yaml @@ -231,6 +231,8 @@ spec: resourceRef: - name: commonPipelineEnvironment param: custom/buildSettingsInfo + resources: + - type: stash outputs: resources: - name: commonPipelineEnvironment