VOL-2042 Invoke Makefile in pipeline rather than run robot directly
Change-Id: I41c424462fc044d83289ed70d1eb88b23abe295c
diff --git a/jjb/pipeline/voltha-bbsim-tests.groovy b/jjb/pipeline/voltha-bbsim-tests.groovy
index 5cd76df..00ebb68 100644
--- a/jjb/pipeline/voltha-bbsim-tests.groovy
+++ b/jjb/pipeline/voltha-bbsim-tests.groovy
@@ -146,8 +146,7 @@
export KUBECONFIG="$(./bin/kind get kubeconfig-path --name="voltha-minimal")"
export VOLTCONFIG="/home/jenkins/.volt/config-minimal"
export PATH=/w/workspace/${gerritProject}_sanity-system-test/kind-voltha/bin:$PATH
- cd $WORKSPACE/voltha-system-tests/tests/sanity
- robot -v ONOS_REST_PORT:8181 -v ONOS_SSH_PORT:8101 -e notready --critical sanity --noncritical VOL-1705 -v num_onus:1 sanity.robot || true
+ make -C $WORKSPACE/voltha-system-tests sanity-kind || true
'''
}
}
diff --git a/jjb/pipeline/voltha-go-tests.groovy b/jjb/pipeline/voltha-go-tests.groovy
index 50d6988..51c2102 100644
--- a/jjb/pipeline/voltha-go-tests.groovy
+++ b/jjb/pipeline/voltha-go-tests.groovy
@@ -54,7 +54,7 @@
export VOLTCONFIG="/home/jenkins/.volt/config-minimal"
export PATH=$WORKSPACE/kind-voltha/bin:$PATH
cd $WORKSPACE/voltha-system-tests/tests/sanity
- robot -v ONOS_REST_PORT:8181 -v ONOS_SSH_PORT:8101 -e notready --critical sanity -v num_onus:1 sanity.robot || true
+ make -C $WORKSPACE/voltha-system-tests sanity-kind || true
'''
}
}