You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-06-23 00:28:05 +02:00
review documentation
- clear separation of README.md from https://sap.github.io/jenkins-library/ - enhanced https://sap.github.io/jenkins-library/home - introduction of guided tour
This commit is contained in:
@ -0,0 +1,11 @@
|
||||
general:
|
||||
steps:
|
||||
mtaBuild:
|
||||
buildTarget: 'CF'
|
||||
cloudFoundryDeploy:
|
||||
deployTool: 'mtaDeployPlugin'
|
||||
deployType: 'standard'
|
||||
cloudFoundry:
|
||||
org: '<your-organisation>'
|
||||
space: '<your-space>'
|
||||
credentialsId: 'CF_CREDENTIALSID'
|
21
documentation/docs/samples/cloud-cf-helloworld-nodejs/Jenkinsfile
vendored
Normal file
21
documentation/docs/samples/cloud-cf-helloworld-nodejs/Jenkinsfile
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
@Library('piper-lib-os') _
|
||||
|
||||
node() {
|
||||
|
||||
stage('prepare') {
|
||||
|
||||
checkout scm
|
||||
|
||||
setupCommonPipelineEnvironment script:this
|
||||
}
|
||||
|
||||
stage('build') {
|
||||
mtaBuild script: this
|
||||
}
|
||||
|
||||
stage('deploy') {
|
||||
def mtarFilePath = commonPipelineEnvironment.getMtarFilePath()
|
||||
|
||||
cloudFoundryDeploy( script: this, mtaPath: mtarFilePath)
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
_schema-version: 2.1.0
|
||||
ID: com.sap.piper.node.hello.world
|
||||
version: 1.0.0
|
||||
description: A Hello World sample application
|
||||
provider: SAP Sample generator
|
||||
|
||||
modules:
|
||||
- name: piper.node.hello.world
|
||||
type: nodejs
|
||||
path: .
|
Reference in New Issue
Block a user