Update Jenkinsfile

This commit is contained in:
Sanjeev435 2018-12-16 14:11:18 +05:30 committed by GitHub
parent d2e3830e4e
commit 561b4bebda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

11
Jenkinsfile vendored
View file

@ -1,7 +1,8 @@
@Library('my-pipeline-library')_
myDeliveryPipeline(branch: 'master', scmUrl: 'ssh://git@myScmServer.com/repos/myRepo.git',
email: 'mrcool435@gmail.com', serverPort: '8080',
developmentServer: 'dev-myproject.mycompany.com',
stagingServer: 'staging-myproject.mycompany.com',
productionServer: 'production-myproject.mycompany.com')
myDeliveryPipeline(properties([
parameters([
string(name: 'BRANCH', defaultValue: 'master', description: 'Branch to build')
choice(name: 'RUN_TEST', choices: ['yes', 'no'], description: 'Run test while build')
])
]))