1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00

Merge branch 'master' into nevskrem-patch-1

This commit is contained in:
Oliver Nocon 2019-12-16 20:45:07 +00:00 committed by GitHub
commit 2670b4bc2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 13 deletions

View File

@ -4,8 +4,8 @@
## Prerequisites
* Cloud Foundry organization, space and deployment user are available
* Credentials for deployment have been configured in Jenkins with a dedicated Id
* Cloud Foundry API endpoint, organization, space, user and service instance are available
* Credentials have been configured in Jenkins with a dedicated Id
## ${docGenParameters}

View File

@ -58,7 +58,7 @@ import static com.sap.piper.Prerequisites.checkScript
@Field Map CONFIG_KEY_COMPATIBILITY = [cloudFoundry: [apiEndpoint: 'cfApiEndpoint', credentialsId: 'cfCredentialsId', org: 'cfOrg', space: 'cfSpace', serviceInstance: 'cfServiceInstance', serviceKey: 'cfServiceKey', serviceKeyConfig: 'cfServiceKeyConfig']]
/**
* Step that creates a service key for a service instancve on Cloud Foundry
* Step that creates a service key for a specified service instance on Cloud Foundry
*/
@GenerateDocumentation
void call(Map parameters = [:]) {
@ -76,6 +76,7 @@ void call(Map parameters = [:]) {
.withMandatoryProperty('cloudFoundry/credentialsId')
.withMandatoryProperty('cloudFoundry/serviceInstance')
.withMandatoryProperty('cloudFoundry/serviceKey')
.withMandatoryProperty('cloudFoundry/apiEndpoint')
.use()
echo "[${STEP_NAME}] Info: docker image: ${config.dockerImage}, docker workspace: ${config.dockerWorkspace}"