blob: 4338d1aa0034a9f7e922303829728093f0f61b07 [file] [log] [blame]
Brian O'Connor529a9ba2014-09-19 15:23:48 -07001- job:
2 name: mininet-build
3 description: 'TODO Do not edit this job through the web!'
4 project-type: freestyle
5 block-downstream: false
6 triggers:
7 - timed: "@midnight"
8 builders:
Brian O'Connor3ec109c2014-09-19 20:01:52 -07009 - shell: "~mininet/mininet/util/vm/build.py -v --test sanity trusty32server"
Brian O'Connor529a9ba2014-09-19 15:23:48 -070010 publishers:
Brian O'Connor82792082014-09-19 18:59:43 -070011 - trigger-parameterized-builds:
Brian O'Connorfd967172014-09-19 19:59:01 -070012 - project: mininet-test,
Brian O'Connor3af0f482014-09-19 20:00:29 -070013 condition: SUCCESS
Brian O'Connor326d0422014-09-19 19:54:29 -070014 predefined-parameters: dir=$WORKSPACE
Brian O'Connor08c5b112014-09-19 19:10:17 -070015
16- job:
17 name: mininet-test
18 description: 'TODO Do not edit this job through the web!'
19 project-type: freestyle
20 block-downstream: false
21 builders:
Brian O'Connor3ec109c2014-09-19 20:01:52 -070022 - shell: "echo $dir; ~mininet/mininet/util/vm/build.py -v --test core --image $dir/*/*.vmdk"
Brian O'Connor08c5b112014-09-19 19:10:17 -070023
Brian O'Connor65f99852014-09-19 23:14:03 -070024
25
26- job:
27 name: mininet-trusty64server
28 description: 'TODO Do not edit this job through the web!'
29 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:
37 - project: mininet-test,
38 condition: SUCCESS
39 predefined-parameters: dir=$WORKSPACE
40
41# ---- the following are jobs that update jenkins when this file is updated ----
Brian O'Connor01303d42014-09-19 18:10:58 -070042- job:
Brian O'Connor82792082014-09-19 18:59:43 -070043 name: update-jenkins-jobs
Brian O'Connorc990f872014-09-19 18:21:25 -070044 description: Auto-generated
Brian O'Connor01303d42014-09-19 18:10:58 -070045 project-type: freestyle
46 scm:
47 - git:
48 url: ssh://jenkins@gerrit.onlab.us:29418/vm-build
49 branches:
50 - master
51 browser: gitweb
52 browser-url: https://gerrit.onlab.us/gitweb?p=vm-build.git
53 timeout: 20
54 triggers:
Brian O'Connor4e72d842014-09-19 18:20:04 -070055 - gerrit:
Brian O'Connor01303d42014-09-19 18:10:58 -070056 trigger-on-ref-updated-event: true
57 trigger-on-change-merged-event: true
58 projects:
59 - project-compare-type: 'PLAIN'
60 project-pattern: 'vm-build'
61 branches:
62 - branch-compare-type: 'PLAIN'
63 branch-pattern: 'master'
Brian O'Connor4e72d842014-09-19 18:20:04 -070064 silent: true
Brian O'Connor01303d42014-09-19 18:10:58 -070065 builders:
66 - shell: "jenkins-jobs --conf /var/lib/jenkins/jenkins_jobs.conf update jobs.yaml"
Brian O'Connorc990f872014-09-19 18:21:25 -070067
68- job:
69 name: update-jenkins-verify
Brian O'Connore33c6d02014-09-19 18:30:34 -070070 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 -070071 project-type: freestyle
Brian O'Connordb899fb2014-09-19 23:09:14 -070072 scm:
73 - git:
74 url: ssh://jenkins@gerrit.onlab.us:29418/vm-build
75 branches:
76 - $GERRIT_BRANCH
77 browser: gitweb
78 browser-url: https://gerrit.onlab.us/gitweb?p=vm-build.git
79 timeout: 20
80 triggers:
81 - gerrit:
82 trigger-on-draft-published-event: true
83 trigger-on-patchset-uploaded-event: true
Brian O'Connor51c53d82014-09-19 23:19:42 -070084 trigger-for-unreviewed-patches: true
Brian O'Connordb899fb2014-09-19 23:09:14 -070085 projects:
86 - project-compare-type: 'PLAIN'
87 project-pattern: 'vm-build'
88 branches:
89 - branch-compare-type: 'PLAIN'
90 branch-pattern: 'master'
91 builders:
92 - shell: "jenkins-jobs test jobs.yaml"