blob: 1bcfbf4948604115b2d46cd4d3199b777e635ff4 [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('unit-test') {
steps {
sh '''#!/bin/bash -l
ONOS_ROOT=`pwd`
source tools/build/envDefaults
onos-buck test
'''
}
}
stage('docker-image') {
steps {
sh '''#!/bin/bash -l
ONOS_ROOT=`pwd`
source tools/build/envDefaults
docker build -t onosproject/onos-test-docker .
'''
}
}
}
}