mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
1007 B
1007 B
${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. Additionally you can set the cfDeleteServiceKeys flag for deleting all Service Keys that belong to the respective Service.
${docGenParameters}
${docGenConfiguration}
${docJenkinsPluginDependencies}
Example
In this example, the Cloud Foundry Configuration is directly provided with the respective Credentials for the used User/Account.
cloudFoundryDeleteService(
cfApiEndpoint : 'https://test.server.com',
cfOrg : 'cforg',
cfspace: 'cfspace',
cfserviceInstance: 'cfserviceInstance',
cfCredentialsId: 'cfcredentialsId',
cfDeleteServiceKeys: true,
)