blob: 1a3eb5f1094e8c6e6ad787e0b82bfaa2f9960fe9 [file] [log] [blame]
#!groovy
pipeline {
agent { node { label 'ubuntu16.04-basebuild-8c-15g' } }
stages {
stage('build') {
steps {
sh '''#!/bin/bash -l
ONOS_ROOT=`pwd`
source tools/build/envDefaults
onos-buck build onos
'''
}
}
stage('test') {
steps {
parallel (
"unit-tests": {
sh '''#!/bin/bash -l
ONOS_ROOT=`pwd`
source tools/build/envDefaults
onos-buck test
'''
},
"javadocs": {
sh '''#!/bin/bash -l
ONOS_ROOT=`pwd`
source tools/build/envDefaults
onos-buck build //docs:external //docs:internal --show-output
'''
},
)
}
}
}
}