Add ability to manually run dataplane tests on a patch
Change-Id: Ie36064c9cf6a142cecb12fd14c0fb72b4788c346
diff --git a/jjb/pipeline/voltha-dt-physical-build-and-tests.groovy b/jjb/pipeline/voltha-dt-physical-build-and-tests.groovy
index 916fe18..da7bb3f 100644
--- a/jjb/pipeline/voltha-dt-physical-build-and-tests.groovy
+++ b/jjb/pipeline/voltha-dt-physical-build-and-tests.groovy
@@ -340,6 +340,11 @@
if [[ "$GERRIT_EVENT_COMMENT_TEXT" =~ \$REGEX ]]; then
ROBOT_MISC_ARGS+="-i functionalDt"
fi
+ # Likewise for dataplane tests
+ REGEX="dataplane tests"
+ if [[ "$GERRIT_EVENT_COMMENT_TEXT" =~ \$REGEX ]]; then
+ ROBOT_MISC_ARGS+="-i dataplaneDt"
+ fi
make -C $WORKSPACE/voltha/voltha-system-tests voltha-dt-test || true
"""
diff --git a/jjb/pipeline/voltha-physical-build-and-tests.groovy b/jjb/pipeline/voltha-physical-build-and-tests.groovy
index 7d2bea7..5f1bfff 100644
--- a/jjb/pipeline/voltha-physical-build-and-tests.groovy
+++ b/jjb/pipeline/voltha-physical-build-and-tests.groovy
@@ -343,6 +343,11 @@
if [[ "$GERRIT_EVENT_COMMENT_TEXT" =~ \$REGEX ]]; then
ROBOT_MISC_ARGS+="-i functional"
fi
+ # Likewise for dataplane tests
+ REGEX="dataplane tests"
+ if [[ "$GERRIT_EVENT_COMMENT_TEXT" =~ \$REGEX ]]; then
+ ROBOT_MISC_ARGS+="-i dataplane"
+ fi
make -C $WORKSPACE/voltha/voltha-system-tests voltha-test || true
"""