blob: 64b62f24aa7e67e1040aa1a9f53456980c33afc9 [file] [log] [blame]
#!groovy
pipeline {
agent any
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
'''
},
)
}
}
}
}