mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
75e696ad7b
* [wip] Add steps for cf spaces creation and deletion * Add tests * Add cf space creation groovy file * Fix shell script * Fix shell script * Add cloudFoundryCreateSpace command to command line controller * Fix format * Add cloudFoundryDeleteSpace command to command line controller * Refactor cloudFoundryDeleteSpace step * Add cloudFoundryDeleteSpace groovy file * Add missing test * Fix tests * Add docu for cloudFoundryCreateSpace step * Add docu for cloudFoundryDeleteSpace step * Code review changes Co-authored-by: Marcus Holl <marcus.holl@sap.com>
12 lines
408 B
Groovy
12 lines
408 B
Groovy
import groovy.transform.Field
|
|
|
|
@Field String STEP_NAME = getClass().getName()
|
|
@Field String METADATA_FILE = 'metadata/cloudFoundryDeleteSpace.yaml'
|
|
|
|
void call(Map parameters = [:]) {
|
|
List credentials = [
|
|
[type: 'usernamePassword', id: 'cfCredentialsId', env: ['PIPER_username', 'PIPER_password']]
|
|
]
|
|
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials, false, false, true)
|
|
}
|