Skip to content

Commit

Permalink
Merge pull request #6409 from brave/mplesa-ci-pipeline-platform-split
Browse files Browse the repository at this point in the history
split ci pipeline by platform
  • Loading branch information
mihaiplesa authored Aug 13, 2020
2 parents ed12438 + 1be14e5 commit 04a608b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ pipeline {
booleanParam(name: 'DISABLE_SCCACHE', defaultValue: false)
booleanParam(name: 'SKIP_SIGNING', defaultValue: true)
booleanParam(name: 'DCHECK_ALWAYS_ON', defaultValue: true)
string(name: 'NODE_LABEL', defaultValue: '')
string(name: 'SLACK_NOTIFY', defaultValue: '')
}
stages {
stage('build') {
Expand Down Expand Up @@ -80,7 +82,8 @@ pipeline {
booleanParam('DCHECK_ALWAYS_ON', true)
booleanParam('RUN_NETWORK_AUDIT', false)
stringParam('BRANCH', '${CHANGE_BRANCH}')
stringParam('PLATFORM', '${PLATFORM}')
stringParam('NODE_LABEL', '')
stringParam('SLACK_NOTIFY', '')
}
definition {
cpsScm {
Expand All @@ -93,8 +96,7 @@ pipeline {
branch('master')
}
}
scriptPath('jenkins/jobs/browser/Jenkinsfile')
lightweight()
scriptPath("jenkins/jobs/browser/pr-brave-browser-${PLATFORM}.Jenkinsfile")
}
}
}
Expand All @@ -110,7 +112,8 @@ pipeline {
booleanParam(name: 'DCHECK_ALWAYS_ON', value: params.DCHECK_ALWAYS_ON),
booleanParam(name: 'RUN_NETWORK_AUDIT', value: RUN_NETWORK_AUDIT),
string(name: 'BRANCH', value: CHANGE_BRANCH),
string(name: 'PLATFORM', value: PLATFORM)
string(name: 'NODE_LABEL', value: NODE_LABEL),
string(name: 'SLACK_NOTIFY', value: SLACK_NOTIFY)
]

currentBuild.result = build(job: PIPELINE_NAME, parameters: params, propagate: false).result
Expand Down

0 comments on commit 04a608b

Please sign in to comment.