Fixing EOF indentation
Change-Id: I4ec1e6d365cedff169c57ff8b94ca5b12eaf3350
diff --git a/jjb/pipeline/voltha-bbsim-tests.groovy b/jjb/pipeline/voltha-bbsim-tests.groovy
index 0b77619..1076a7c 100644
--- a/jjb/pipeline/voltha-bbsim-tests.groovy
+++ b/jjb/pipeline/voltha-bbsim-tests.groovy
@@ -84,14 +84,7 @@
stage('Build Images') {
steps {
sh """
- if [ "${gerritProject}" = "pyvoltha" ]; then
- cd $WORKSPACE/voltha/pyvoltha/
- make dist
- cd $WORKSPACE/voltha/voltha-openonu-adapter
- export LOCAL_PYVOLTHA=$WORKSPACE/voltha/pyvoltha/
- make local-pyvoltha
- make DOCKER_REPOSITORY=voltha/ DOCKER_TAG=citest docker-build
- elif ! [[ "${gerritProject}" =~ ^(voltha-helm-charts|voltha-system-tests)\$ ]]; then
+ if ! [[ "${gerritProject}" =~ ^(voltha-helm-charts|voltha-system-tests)\$ ]]; then
cd $WORKSPACE/voltha/${gerritProject}/
make DOCKER_REPOSITORY=voltha/ DOCKER_TAG=citest docker-build
fi
@@ -131,8 +124,6 @@
IMAGES="afrouter afrouterd "
elif [ "${gerritProject}" = "bbsim" ]; then
IMAGES="bbsim "
- elif [ "${gerritProject}" = "pyvoltha" ]; then
- IMAGES="adapter_open_onu "
else
echo "No images to push"
fi
@@ -225,10 +216,10 @@
}
}
}
- EOF
- sshpass -p karaf ssh -p 30115 karaf@${deployment_config.nodes[0].ip} "cfg set org.opencord.olt.impl.OltFlowService enableDhcpOnProvisioning true"
- sshpass -p karaf ssh -p 30115 karaf@${deployment_config.nodes[0].ip} "cfg set org.opencord.olt.impl.OltFlowService enableDhcpV4 true"
- sshpass -p karaf ssh -p 30115 karaf@${deployment_config.nodes[0].ip} "cfg set org.opencord.olt.impl.OltFlowService enableEapol true"
+EOF
+ sshpass -p karaf ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 "cfg set org.opencord.olt.impl.OltFlowService enableDhcpOnProvisioning true"
+ sshpass -p karaf ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 "cfg set org.opencord.olt.impl.OltFlowService enableDhcpV4 true"
+ sshpass -p karaf ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 8101 karaf@127.0.0.1 "cfg set org.opencord.olt.impl.OltFlowService enableEapol true"
else
echo "Using kind-voltha defaults"
fi