Ray Milkey | 38c16c5 | 2017-10-26 12:05:45 -0700 | [diff] [blame] | 1 | #!groovy |
| 2 | |
| 3 | pipeline { |
| 4 | |
Ray Milkey | 8d05a4c | 2017-11-29 13:59:42 -0800 | [diff] [blame] | 5 | agent { node { label 'ubuntu16.04-basebuild-8c-15g' } } |
Ray Milkey | 38c16c5 | 2017-10-26 12:05:45 -0700 | [diff] [blame] | 6 | |
| 7 | stages { |
| 8 | |
| 9 | stage('build') { |
| 10 | steps { |
| 11 | sh '''#!/bin/bash -l |
| 12 | ONOS_ROOT=`pwd` |
| 13 | source tools/build/envDefaults |
| 14 | onos-buck build onos |
| 15 | ''' |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | stage('test') { |
| 20 | steps { |
| 21 | parallel ( |
| 22 | "unit-tests": { |
| 23 | sh '''#!/bin/bash -l |
| 24 | ONOS_ROOT=`pwd` |
| 25 | source tools/build/envDefaults |
| 26 | onos-buck test |
Ray Milkey | 38c16c5 | 2017-10-26 12:05:45 -0700 | [diff] [blame] | 27 | onos-buck build //docs:external //docs:internal --show-output |
| 28 | ''' |
| 29 | }, |
Ray Milkey | 017fe3e | 2017-11-29 14:50:22 -0800 | [diff] [blame] | 30 | // additional steps here (STC, docker buld, etc) |
Ray Milkey | 38c16c5 | 2017-10-26 12:05:45 -0700 | [diff] [blame] | 31 | ) |
| 32 | } |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | } |
| 37 | |