blob: 08b739041cb0eb56fb2c8831694ce53173882c51 [file] [log] [blame]
Brian O'Connor0f311882014-09-19 23:37:01 -07001# Mininet - Trusty 32-bit
Brian O'Connor529a9ba2014-09-19 15:23:48 -07002- job:
Brian O'Connor0f311882014-09-19 23:37:01 -07003 name: mininet-trusty32server
4 description: 'Ubuntu 14.04 LTS 32-bit VM build\n'
Brian O'Connor529a9ba2014-09-19 15:23:48 -07005 project-type: freestyle
6 block-downstream: false
7 triggers:
8 - timed: "@midnight"
9 builders:
Brian O'Connor3ec109c2014-09-19 20:01:52 -070010 - shell: "~mininet/mininet/util/vm/build.py -v --test sanity trusty32server"
Brian O'Connor529a9ba2014-09-19 15:23:48 -070011 publishers:
Brian O'Connor82792082014-09-19 18:59:43 -070012 - trigger-parameterized-builds:
Brian O'Connor1fb1fb02014-09-19 23:39:12 -070013 - project: mininet-trusty32server-test,
Brian O'Connor3af0f482014-09-19 20:00:29 -070014 condition: SUCCESS
Brian O'Connor326d0422014-09-19 19:54:29 -070015 predefined-parameters: dir=$WORKSPACE
Brian O'Connor08c5b112014-09-19 19:10:17 -070016
17- job:
Brian O'Connor0f311882014-09-19 23:37:01 -070018 name: mininet-trusty32server-test
19 description: 'Test of Ubuntu 14.04 LTS 32-bit VM\n'
Brian O'Connor08c5b112014-09-19 19:10:17 -070020 project-type: freestyle
21 block-downstream: false
22 builders:
Brian O'Connor0f311882014-09-19 23:37:01 -070023 - shell: "echo $dir; ~mininet/mininet/util/vm/build.py -v --test core --test examplesfull --test walkthrough --image $dir/*/*.vmdk"
Brian O'Connor08c5b112014-09-19 19:10:17 -070024
Brian O'Connor0f311882014-09-19 23:37:01 -070025# Mininet - Trusty 64-bit
Brian O'Connor65f99852014-09-19 23:14:03 -070026- job:
27 name: mininet-trusty64server
Brian O'Connor0f311882014-09-19 23:37:01 -070028 description: 'Ubuntu 14.04 LTS 64-bit VM build\n'
Brian O'Connor65f99852014-09-19 23:14:03 -070029 project-type: freestyle
30 block-downstream: false
31 triggers:
32 - timed: "@midnight"
33 builders:
34 - shell: "~mininet/mininet/util/vm/build.py -v --test sanity trusty64server"
35 publishers:
36 - trigger-parameterized-builds:
Brian O'Connor1fb1fb02014-09-19 23:39:12 -070037 - project: mininet-trusty64server-test,
Brian O'Connor65f99852014-09-19 23:14:03 -070038 condition: SUCCESS
39 predefined-parameters: dir=$WORKSPACE
Brian O'Connor0f311882014-09-19 23:37:01 -070040- job:
41 name: mininet-trusty64server-test
42 description: 'Test of Ubuntu 14.04 LTS 64-bit VM\n'
43 project-type: freestyle
44 block-downstream: false
45 builders:
46 - shell: "echo $dir; ~mininet/mininet/util/vm/build.py -v --test core --test examplesfull --test walkthrough --image $dir/*/*.vmdk"
Brian O'Connor65f99852014-09-19 23:14:03 -070047
48# ---- the following are jobs that update jenkins when this file is updated ----
Brian O'Connor01303d42014-09-19 18:10:58 -070049- job:
Brian O'Connor82792082014-09-19 18:59:43 -070050 name: update-jenkins-jobs
Brian O'Connorc990f872014-09-19 18:21:25 -070051 description: Auto-generated
Brian O'Connor01303d42014-09-19 18:10:58 -070052 project-type: freestyle
53 scm:
54 - git:
55 url: ssh://jenkins@gerrit.onlab.us:29418/vm-build
56 branches:
57 - master
58 browser: gitweb
59 browser-url: https://gerrit.onlab.us/gitweb?p=vm-build.git
60 timeout: 20
61 triggers:
Brian O'Connor4e72d842014-09-19 18:20:04 -070062 - gerrit:
Brian O'Connor01303d42014-09-19 18:10:58 -070063 trigger-on-ref-updated-event: true
64 trigger-on-change-merged-event: true
65 projects:
66 - project-compare-type: 'PLAIN'
67 project-pattern: 'vm-build'
68 branches:
69 - branch-compare-type: 'PLAIN'
70 branch-pattern: 'master'
Brian O'Connor4e72d842014-09-19 18:20:04 -070071 silent: true
Brian O'Connor01303d42014-09-19 18:10:58 -070072 builders:
73 - shell: "jenkins-jobs --conf /var/lib/jenkins/jenkins_jobs.conf update jobs.yaml"
Brian O'Connorc990f872014-09-19 18:21:25 -070074
75- job:
76 name: update-jenkins-verify
Brian O'Connore33c6d02014-09-19 18:30:34 -070077 description: TODO This will be used to verify new jobs using jenkins-job test before they are accepted in Gerrit.
Brian O'Connorc990f872014-09-19 18:21:25 -070078 project-type: freestyle
Brian O'Connordb899fb2014-09-19 23:09:14 -070079 scm:
80 - git:
81 url: ssh://jenkins@gerrit.onlab.us:29418/vm-build
82 branches:
83 - $GERRIT_BRANCH
84 browser: gitweb
85 browser-url: https://gerrit.onlab.us/gitweb?p=vm-build.git
86 timeout: 20
87 triggers:
88 - gerrit:
89 trigger-on-draft-published-event: true
90 trigger-on-patchset-uploaded-event: true
Brian O'Connor51c53d82014-09-19 23:19:42 -070091 trigger-for-unreviewed-patches: true
Brian O'Connordb899fb2014-09-19 23:09:14 -070092 projects:
93 - project-compare-type: 'PLAIN'
94 project-pattern: 'vm-build'
95 branches:
96 - branch-compare-type: 'PLAIN'
97 branch-pattern: 'master'
98 builders:
99 - shell: "jenkins-jobs test jobs.yaml"