Update Jenkinsfile

This commit is contained in:
Sanjeev435 2019-01-06 14:06:24 +05:30 committed by GitHub
parent 99a32e97a6
commit 990ee1ba18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

5
Jenkinsfile vendored
View file

@ -1,4 +1,4 @@
properties ([
print( properties ([ properties ([) properties ([
parameters([
string(name: 'BRANCH', defaultValue: 'master', description: 'Branch to build'),
choice(name: 'RUN_TEST', choices: ['yes', 'no'], description: 'Run test while build'),
@ -8,7 +8,8 @@
])
])
print(params.BRANCH)
print({params.BRANCH})
@Library('my-pipeline-library') _
myDeliveryPipeline('BRANCH':{params.BRANCH}, 'RUN_TEST':{params.RUN_TEST}, 'MAIL_TRIGGER':{params.MAIL_TRIGGER}, 'EMAIL':{params.EMAIL})