You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-06-17 00:07:42 +02:00
29 lines
854 B
Markdown
29 lines
854 B
Markdown
![]() |
# ${docGenStepName}
|
||
|
|
||
|
## ${docGenDescription}
|
||
|
|
||
|
## 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.
|
||
|
Furthermore you will need to provide the Cloud Foundry Login Credentials, which must be stored in the Jenkins Configuration.
|
||
|
|
||
|
## ${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',
|
||
|
)
|
||
|
```
|