blob: eda15b093164aba57f7436d576f369e1354ed62f [file] [log] [blame]
---
# ONOS Buck Pipeline jobs
- job:
name: onos-buck-gerrit
project-type: pipeline
sandbox: false
pipeline-scm:
script-path: tools/build/jenkins/onos-buck-gerrit
scm:
- lf-infra-gerrit-scm:
git-url: '$GIT_URL/$PROJECT'
refspec: '$GERRIT_REFSPEC'
branch: '$GERRIT_BRANCH'
#submodule-recursive: '{submodule-recursive}'
submodule-recursive: false
choosing-strategy: gerrit
#jenkins-ssh-credential: '{jenkins-ssh-credential}'
jenkins-ssh-credential: 'jenkins'
shallow-clone: true
triggers:
- gerrit:
#server-name: '{gerrit-server-name}'
server-name: 'ONOS Project Gerrit'
#trigger-on: '{obj:gerrit_verify_triggers}'
trigger-on:
- patchset-created-event:
exclude-drafts: true
exclude-trivial-rebase: false
exclude-no-code-change: true
- draft-published-event
projects:
- project-compare-type: PLAIN
#project-pattern: '{project}'
project-pattern: 'onos'
branches:
- branch-compare-type: ANT
#branch-pattern: '**/{branch}'
branch-pattern: '**/master'
#file-paths: '{obj:gerrit_trigger_file_paths}'
- project:
name: onos-buck-gerrit
build-timeout: '1800'
build-node: 'ubuntu16.04-basebuild-8c-15g'
project: 'onos'
project-name: 'onos'
jobs:
- 'onos-buck-gerrit'