mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
8f723caa31
* fix bug with wrong plugin parameter used * provided default value for stash-content * added documentation for step
1.2 KiB
1.2 KiB
${docGenStepName}
${docGenDescription}
${docGenParameters}
${docGenConfiguration}
${docJenkinsPluginDependencies}
Example
The following Example will create the services specified in a file manifest-create-service.yml
in cloud foundry org cfOrg
of Cloud Foundry installation accessed via https://test.server.com
in space cfSpace
by using the username & password stored in cfCredentialsId
.
cloudFoundryCreateService(
script: this,
cloudFoundry: [apiEndpoint: 'https://test.server.com',
credentialsId: 'cfCredentialsId',
serviceManifest: 'manifest-create-service.yml',
org: 'cfOrg',
space: 'cfSpace'])
The following example additionally to above also makes use of a variable substitution file mainfest-variable-substitution.yml
.
cloudFoundryCreateService(
script: this,
cloudFoundry: [apiEndpoint: 'https://test.server.com',
credentialsId: 'cfCredentialsId',
serviceManifest: 'manifest-create-service.yml',
manifestVariablesFiles: ['mainfest-variable-substitution.yml'],
org: 'cfOrg',
space: 'cfSpace'])