2020-02-10 15:53:12 +02:00
|
|
|
# ${docGenStepName}
|
|
|
|
|
|
|
|
## ${docGenDescription}
|
|
|
|
|
|
|
|
## Prerequisites
|
|
|
|
|
|
|
|
This step is for deleting an existing service on Cloud Foundry.
|
2020-03-05 16:35:43 +02:00
|
|
|
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.
|
2020-02-10 15:53:12 +02:00
|
|
|
Furthermore you will need to provide the Cloud Foundry Login Credentials, which must be stored in the Jenkins Configuration.
|
2020-03-05 16:35:43 +02:00
|
|
|
Additionally you can set the cfDeleteServiceKeys flag for deleting all Service Keys that belong to the respective Service.
|
2020-02-10 15:53:12 +02:00
|
|
|
|
|
|
|
## ${docGenParameters}
|
|
|
|
|
|
|
|
## ${docGenConfiguration}
|
|
|
|
|
|
|
|
## ${docJenkinsPluginDependencies}
|
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
In this example, the Cloud Foundry Configuration is directly provided with the respective Credentials for the used User/Account.
|
|
|
|
|
|
|
|
```groovy
|
|
|
|
cloudFoundryDeleteService(
|
|
|
|
cfApiEndpoint : 'https://test.server.com',
|
|
|
|
cfOrg : 'cforg',
|
|
|
|
cfspace: 'cfspace',
|
|
|
|
cfserviceInstance: 'cfserviceInstance',
|
|
|
|
cfCredentialsId: 'cfcredentialsId',
|
2020-03-05 16:35:43 +02:00
|
|
|
cfDeleteServiceKeys: true,
|
|
|
|
)
|
|
|
|
```
|