Update Jenkinsfile

This commit is contained in:
Shweta217 2018-12-24 18:34:17 +05:30 committed by GitHub
parent df9a5d5cc8
commit 91e9a9ddbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

15
Jenkinsfile vendored
View file

@ -1,10 +1,13 @@
@Library('my-pipeline-library')_
myDeliveryPipeline(
parameters([
string(name: 'BRANCH', defaultValue: 'master', description: 'Branch to build'),
choice(name: 'RUN_TEST', choices: ['yes', 'no'], description: 'Run test while build'),
booleanParam(name: 'MAIL_TRIGGER', defaultValue: true, description: 'mail to be triggred'),
string(name: 'EMAIL', defaultValue: 'mrcool435@gmail.com', description: 'Mail to be notified')
properties ([
parameters([
string(name: 'BRANCH', defaultValue: 'master', description: 'Branch to build'),
choice(name: 'RUN_TEST', choices: ['yes', 'no'], description: 'Run test while build'),
booleanParam(name: 'MAIL_TRIGGER', defaultValue: true, description: 'mail to be triggred'),
string(name: 'EMAIL', defaultValue: 'mrcool435@gmail.com', description: 'Mail to be notified')
]))
])
])
)