mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 22:15:50 +00:00
Update Jenkinsfile
This commit is contained in:
parent
99a32e97a6
commit
990ee1ba18
1 changed files with 3 additions and 2 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -1,4 +1,4 @@
|
||||||
properties ([
|
print( properties ([ properties ([) properties ([
|
||||||
parameters([
|
parameters([
|
||||||
string(name: 'BRANCH', defaultValue: 'master', description: 'Branch to build'),
|
string(name: 'BRANCH', defaultValue: 'master', description: 'Branch to build'),
|
||||||
choice(name: 'RUN_TEST', choices: ['yes', 'no'], description: 'Run test while 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') _
|
@Library('my-pipeline-library') _
|
||||||
|
|
||||||
myDeliveryPipeline('BRANCH':{params.BRANCH}, 'RUN_TEST':{params.RUN_TEST}, 'MAIL_TRIGGER':{params.MAIL_TRIGGER}, 'EMAIL':{params.EMAIL})
|
myDeliveryPipeline('BRANCH':{params.BRANCH}, 'RUN_TEST':{params.RUN_TEST}, 'MAIL_TRIGGER':{params.MAIL_TRIGGER}, 'EMAIL':{params.EMAIL})
|
||||||
|
|
Loading…
Reference in a new issue