| # Mininet - Trusty 32-bit |
| - job: |
| name: mininet-trusty32server |
| description: 'Ubuntu 14.04 LTS 32-bit VM build\n' |
| project-type: freestyle |
| block-downstream: false |
| triggers: |
| - timed: "@midnight" |
| builders: |
| - shell: "~mininet/mininet/util/vm/build.py -v --test sanity trusty32server" |
| publishers: |
| - trigger-parameterized-builds: |
| - project: mininet-trusty32server-test, |
| condition: SUCCESS |
| predefined-parameters: dir=$WORKSPACE |
| |
| - job: |
| name: mininet-trusty32server-test |
| description: 'Test of Ubuntu 14.04 LTS 32-bit VM\n' |
| project-type: freestyle |
| block-downstream: false |
| builders: |
| - shell: "echo $dir; ~mininet/mininet/util/vm/build.py -v --test core --test examplesfull --test walkthrough --image $dir/*/*.vmdk" |
| |
| # Mininet - Trusty 64-bit |
| - job: |
| name: mininet-trusty64server |
| description: 'Ubuntu 14.04 LTS 64-bit VM build\n' |
| project-type: freestyle |
| block-downstream: false |
| triggers: |
| - timed: "@midnight" |
| builders: |
| - shell: "~mininet/mininet/util/vm/build.py -v --test sanity trusty64server" |
| publishers: |
| - trigger-parameterized-builds: |
| - project: mininet-trusty64server-test, |
| condition: SUCCESS |
| predefined-parameters: dir=$WORKSPACE |
| - job: |
| name: mininet-trusty64server-test |
| description: 'Test of Ubuntu 14.04 LTS 64-bit VM\n' |
| project-type: freestyle |
| block-downstream: false |
| builders: |
| - shell: "echo $dir; ~mininet/mininet/util/vm/build.py -v --test core --test examplesfull --test walkthrough --image $dir/*/*.vmdk" |
| |
| # ---- the following are jobs that update jenkins when this file is updated ---- |
| - job: |
| name: update-jenkins-jobs |
| description: Auto-generated |
| project-type: freestyle |
| scm: |
| - git: |
| url: ssh://jenkins@gerrit.onlab.us:29418/vm-build |
| branches: |
| - master |
| browser: gitweb |
| browser-url: https://gerrit.onlab.us/gitweb?p=vm-build.git |
| timeout: 20 |
| triggers: |
| - gerrit: |
| trigger-on-ref-updated-event: true |
| trigger-on-change-merged-event: true |
| projects: |
| - project-compare-type: 'PLAIN' |
| project-pattern: 'vm-build' |
| branches: |
| - branch-compare-type: 'PLAIN' |
| branch-pattern: 'master' |
| silent: true |
| builders: |
| - shell: "jenkins-jobs --conf /var/lib/jenkins/jenkins_jobs.conf update jobs.yaml" |
| |
| - job: |
| name: update-jenkins-verify |
| description: TODO This will be used to verify new jobs using jenkins-job test before they are accepted in Gerrit. |
| project-type: freestyle |
| scm: |
| - git: |
| url: ssh://jenkins@gerrit.onlab.us:29418/vm-build |
| branches: |
| - $GERRIT_BRANCH |
| browser: gitweb |
| browser-url: https://gerrit.onlab.us/gitweb?p=vm-build.git |
| timeout: 20 |
| triggers: |
| - gerrit: |
| trigger-on-draft-published-event: true |
| trigger-on-patchset-uploaded-event: true |
| trigger-for-unreviewed-patches: true |
| projects: |
| - project-compare-type: 'PLAIN' |
| project-pattern: 'vm-build' |
| branches: |
| - branch-compare-type: 'PLAIN' |
| branch-pattern: 'master' |
| builders: |
| - shell: "jenkins-jobs test jobs.yaml" |