[VOL-3820] DMI tests HW pipeline
Change-Id: Id7daa37de57b3522a0be20bc6df266788cb10bf9
diff --git a/jjb/pipeline/voltha/master/dmi-build-and-test.groovy b/jjb/pipeline/voltha/master/dmi-build-and-test.groovy
index a0fb12e..aa74c4d 100755
--- a/jjb/pipeline/voltha/master/dmi-build-and-test.groovy
+++ b/jjb/pipeline/voltha/master/dmi-build-and-test.groovy
@@ -93,6 +93,11 @@
}
}
stage('Install Voltha') {
+ when {
+ expression {
+ return installVoltha.toBoolean()
+ }
+ }
steps {
timeout(20) {
installVoltctl("${branch}")
@@ -186,7 +191,7 @@
done
"""
sh """
- JENKINS_NODE_COOKIE="dontKillMe" _TAG="${params.OltDevMgr}" bash -c "while true; do kubectl port-forward --address 0.0.0.0 svc/${params.OltDevMgr} 50051:10000; done"&
+ JENKINS_NODE_COOKIE="dontKillMe" _TAG="${params.OltDevMgr}" bash -c "while true; do kubectl port-forward --address 0.0.0.0 svc/${params.OltDevMgr} 50051; done"&
ps aux | grep port-forward
"""
}
@@ -308,6 +313,7 @@
post {
always {
+ getPodsInfo("$WORKSPACE")
sh '''
# stop the kail processes
list=($APPS_TO_LOG)