blob: 3afa8b2a64243977d16f36cdd114c71bf2daca2d [file] [log] [blame]
Ray Milkeye28a4db2017-10-27 12:36:14 -07001# disabled until pipline is supported by LF
Brian O'Connor9fbe7722017-10-27 12:44:04 -07002# FIXME this job uses pipeline, which depends on jenkins-job-builder==2.0.0.0b2
Ray Milkeye28a4db2017-10-27 12:36:14 -07003
Brian O'Connor9fbe7722017-10-27 12:44:04 -07004#---
Ray Milkeye28a4db2017-10-27 12:36:14 -07005# ONOS Buck Pipeline jobs
6
7#- job:
8# branch: master
9# git-url: '$GIT_URL/$GERRIT_PROJECT'
10# stream: master
11# name: onos-buck-gerrit
12# project-type: pipeline
13# sandbox: false
14
15# parameters:
16# - lf-infra-parameters:
17# # TODO - this is a hack, figure out how to get these from defaults.yaml
18# project: 'onos'
19# stream: 'master'
20# branch: 'master'
21# lftools-version: '<1.0.0'
22
23# #TODO(BOC): use the build node from the project
24# #FIXME figure out how to run this on a slave
25# #node: 'ubuntu16.04-basebuild-8c-15g'
26# #TODO(BOC) Need build discarding
27# concurrent: true
28
29# pipeline-scm:
30# script-path: tools/build/jenkins/onos-buck-gerrit
31# scm:
32# - lf-infra-gerrit-scm:
33# git-url: '{git-url}'
34# refspec: '$GERRIT_REFSPEC'
35# branch: '$GERRIT_BRANCH'
36# #submodule-recursive: '{submodule-recursive}'
37# submodule-recursive: false
38# choosing-strategy: gerrit
39# #jenkins-ssh-credential: '{jenkins-ssh-credential}'
40# jenkins-ssh-credential: 'jenkins'
41# shallow-clone: true
42#
43# triggers:
44# - gerrit:
45# #server-name: '{gerrit-server-name}'
46# server-name: 'ONOS Project Gerrit'
47# #trigger-on: '{obj:gerrit_verify_triggers}'
48# trigger-on:
49# - patchset-created-event:
50# exclude-drafts: true
51# exclude-trivial-rebase: false
52# exclude-no-code-change: true
53# - draft-published-event
54# projects:
55# - project-compare-type: PLAIN
56# #project-pattern: '{project}'
57# project-pattern: 'onos'
58# branches:
59# - branch-compare-type: ANT
60# #branch-pattern: '**/{branch}'
61# branch-pattern: '**/master'
62# #file-paths: '{obj:gerrit_trigger_file_paths}'
63#
64#- project:
65# name: onos-buck-gerrit
66# build-timeout: '1800'
67# build-node: 'ubuntu16.04-basebuild-8c-15g'
68# project: 'onos'
69# project-name: 'onos'
70#
71# jobs:
72# - 'onos-buck-gerrit'
73
74