1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-11-29 22:58:09 +02:00

Add ServiceKey deletion to cloudFoundryDeleteService step (#1177)

This commit is contained in:
Oliver Nocon
2020-03-05 15:35:43 +01:00
committed by GitHub
parent 0b3b4aae3d
commit 622d559eae
5 changed files with 126 additions and 35 deletions

View File

@@ -5,8 +5,9 @@
## Prerequisites
This step is for deleting an existing service on Cloud Foundry.
You need to provide the Cloud Foundry API Endpoint, the Organisation as well as the Space and the respective Service Instance Name you want to delete.
You need to provide the Cloud Foundry API Endpoint, the Organisation as well as the Space and the respective Service Instance Name you want to delete.
Furthermore you will need to provide the Cloud Foundry Login Credentials, which must be stored in the Jenkins Configuration.
Additionally you can set the cfDeleteServiceKeys flag for deleting all Service Keys that belong to the respective Service.
## ${docGenParameters}
@@ -25,5 +26,6 @@ cloudFoundryDeleteService(
cfspace: 'cfspace',
cfserviceInstance: 'cfserviceInstance',
cfCredentialsId: 'cfcredentialsId',
)
```
cfDeleteServiceKeys: true,
)
```