commit | cf3e368d499d549319894ab78e0bf76e1eb70177 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@onlab.us> | Tue Mar 14 16:56:18 2017 -0700 |
committer | Ray Milkey <ray@onlab.us> | Tue Mar 14 23:56:51 2017 +0000 |
tree | c57e2ddbc97aa24deb8e20955b7cff7e6c300ddd | |
parent | e8d06bf283ab1fb9dc41fcc222ed1a7232eb06d4 [diff] [blame] |
add docker step to pipeline Change-Id: I249be7ade019bd2df2ea0b6d0eaecf528c86d802
diff --git a/Jenkinsfile b/Jenkinsfile index 8d35f19..1bcfbf4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile
@@ -1,3 +1,5 @@ +#!groovy + pipeline { agent any @@ -21,6 +23,16 @@ ''' } } + + stage('docker-image') { + steps { + sh '''#!/bin/bash -l + ONOS_ROOT=`pwd` + source tools/build/envDefaults + docker build -t onosproject/onos-test-docker . + ''' + } + } } }