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
df9a5d5cc8
commit
91e9a9ddbb
1 changed files with 9 additions and 6 deletions
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
|
@ -1,10 +1,13 @@
|
||||||
@Library('my-pipeline-library')_
|
@Library('my-pipeline-library')_
|
||||||
|
|
||||||
myDeliveryPipeline(
|
myDeliveryPipeline(
|
||||||
parameters([
|
properties ([
|
||||||
string(name: 'BRANCH', defaultValue: 'master', description: 'Branch to build'),
|
parameters([
|
||||||
choice(name: 'RUN_TEST', choices: ['yes', 'no'], description: 'Run test while build'),
|
string(name: 'BRANCH', defaultValue: 'master', description: 'Branch to build'),
|
||||||
booleanParam(name: 'MAIL_TRIGGER', defaultValue: true, description: 'mail to be triggred'),
|
choice(name: 'RUN_TEST', choices: ['yes', 'no'], description: 'Run test while build'),
|
||||||
string(name: 'EMAIL', defaultValue: 'mrcool435@gmail.com', description: 'Mail to be notified')
|
booleanParam(name: 'MAIL_TRIGGER', defaultValue: true, description: 'mail to be triggred'),
|
||||||
|
string(name: 'EMAIL', defaultValue: 'mrcool435@gmail.com', description: 'Mail to be notified')
|
||||||
|
|
||||||
]))
|
])
|
||||||
|
])
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue