diff --git a/cmd/cloudFoundryDeploy_generated.go b/cmd/cloudFoundryDeploy_generated.go index 09edb8f501..28437567a1 100644 --- a/cmd/cloudFoundryDeploy_generated.go +++ b/cmd/cloudFoundryDeploy_generated.go @@ -280,6 +280,9 @@ func cloudFoundryDeployMetadata() config.StepData { {Name: "cfCredentialsId", Description: "Jenkins 'Username with password' credentials ID containing user and password to authenticate to the Cloud Foundry API.", Type: "jenkins", Aliases: []config.Alias{{Name: "cloudFoundry/credentialsId", Deprecated: true}}}, {Name: "dockerCredentialsId", Description: "Jenkins 'Username with password' credentials ID containing user and password to authenticate to the Docker registry.", Type: "jenkins"}, }, + Resources: []config.StepResources{ + {Name: "deployDescriptor", Type: "stash"}, + }, Parameters: []config.StepParameters{ { Name: "apiEndpoint", diff --git a/resources/metadata/cloudFoundryDeploy.yaml b/resources/metadata/cloudFoundryDeploy.yaml index 5d6a96dc40..3d22e3d70c 100644 --- a/resources/metadata/cloudFoundryDeploy.yaml +++ b/resources/metadata/cloudFoundryDeploy.yaml @@ -23,6 +23,9 @@ spec: - name: dockerCredentialsId description: Jenkins 'Username with password' credentials ID containing user and password to authenticate to the Docker registry. type: jenkins + resources: + - name: deployDescriptor + type: stash params: - name: apiEndpoint type: string