-
Notifications
You must be signed in to change notification settings - Fork 32
/
Jenkinsfile
26 lines (23 loc) · 1 KB
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@Library('jenkins-library') _
// Job properties
def jobParams = [
booleanParam(defaultValue: false, description: 'push to the dev profile', name: 'prDeployment'),
string(defaultValue: '', description: 'Additional Jira tasks (comma-separated)', name: 'additionalJiraTasks'),
booleanParam(defaultValue: false, description: 'Get all Jira tasks specified in the PR', name: 'getAllJiraTasks'),
booleanParam(defaultValue: false, description: 'run sonarqube scan', name: 'sonar'),
booleanParam(defaultValue: false, description: 'Upload builds to nexus(master,develop and staging branches upload always)', name: 'upload_to_nexus'),
]
def appPipeline = new org.ios.AppPipeline(
steps: this,
appTests: false,
appPushNoti: true,
jobParams: jobParams,
label: 'mac-fearless',
sonar: false,
sonarProjectName: 'fearless-ios',
sonarProjectKey: 'fearless:fearless-ios',
dojoProductType: 'fearless',
effectJiraTasks: true,
uploadToNexusFor: ['master','develop','staging']
)
appPipeline.runPipeline('fearless')