github.com/xgoffin/jenkins-library@v1.154.0/documentation/docs/steps/cloudFoundryDeleteSpace.md (about)

     1  # ${docGenStepName}
     2  
     3  ## ${docGenDescription}
     4  
     5  ## Prerequisites
     6  
     7  * You have a user for the SAP BTP Cloud Foundry environment
     8  * Credentials have been configured in Jenkins with a dedicated Id
     9  
    10  ## ${docGenParameters}
    11  
    12  ## ${docGenConfiguration}
    13  
    14  ## ${docJenkinsPluginDependencies}
    15  
    16  ## Example
    17  
    18  ### Space deletion in Cloud Foundry with a simple example
    19  
    20  The following example deletes an existing space in a Cloud Foundry.
    21  
    22  You can store the credentials in Jenkins and use the `cfCredentialsId` parameter to authenticate to Cloud Foundry.
    23  
    24  This can be done accordingly:
    25  
    26  ```groovy
    27  cloudFoundryDeleteSpace(
    28      cfApiEndpoint : 'https://test.server.com',
    29      cfOrg : 'cfOrg',
    30      cfSpace: 'cfSpace', //Name of the cf space to be deleted
    31      cfCredentialsId: 'cfCredentialsId',
    32      script: this,
    33  )
    34  ```