blob: ad1a6819cebfb5eb9d21abc8a18e8e01c21a1d94 [file] [log] [blame]
---
# ONOS Buck Pipeline jobs
- job:
branch: master
git-url: '$GIT_URL/$GERRIT_PROJECT'
stream: master
name: onos-validate-pipeline
project-type: pipeline
sandbox: false
disabled: true
parameters:
- lf-infra-parameters:
# TODO - this is a hack, figure out how to get these from defaults.yaml
project: 'onos'
stream: 'master'
branch: 'master'
lftools-version: '<1.0.0'
concurrent: true
pipeline-scm:
script-path: tools/build/jenkins/onos-buck-gerrit
scm:
- lf-infra-gerrit-scm:
#git-url: '{git-url}'
git-url: '$GIT_URL/$GERRIT_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: 'onos-jenkins-ssh'
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
- comment-added-contains-event:
comment-contains-value: '(?i)^.*recheck$'
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-validate-pipeline
build-timeout: '30'
build-node: 'ubuntu16.04-basebuild-8c-15g'
project: 'onos'
project-name: 'onos'
jobs:
- 'onos-validate-pipeline'