Change voltctl configuration file for k8s ingress

Now that the VM images (and the community pods) contain an additional
entry [1] in /etc/hosts, we can change the voltctl configuration file
to use the kubernetes ingress instead of port forwardings created with
kubectl port-forward.

[1] 127.0.0.1 localhost voltha-infra.local voltha.voltha.local

Also include an extra change in jjb/ to trigger jenkins job in vars/.

Signed-off-by: Roger Luethi <roger@opennetworking.org>
Change-Id: Ib24ea4e16b5cd5c2537f708aee6498922f8cd194
diff --git a/jjb/pipeline/voltha/physical-build.groovy b/jjb/pipeline/voltha/physical-build.groovy
index 9dfb588..17d48b3 100755
--- a/jjb/pipeline/voltha/physical-build.groovy
+++ b/jjb/pipeline/voltha/physical-build.groovy
@@ -16,7 +16,6 @@
 
 // NOTE we are importing the library even if it's global so that it's
 // easier to change the keywords during a replay
-
 library identifier: 'cord-jenkins-libraries@master',
     retriever: modernSCM([
       $class: 'GitSCMSource',
diff --git a/vars/installVoltctl.groovy b/vars/installVoltctl.groovy
index 61370e6..cddb0c5 100644
--- a/vars/installVoltctl.groovy
+++ b/vars/installVoltctl.groovy
@@ -165,7 +165,11 @@
 
     mkdir -p "/home/jenkins/.volt"
     rm -f "/home/jenkins/.volt/config"
-    "\${bin_voltctl}" config > "/home/jenkins/.volt/config"
+    "\${bin_voltctl}" config | \
+      sed -e "s/server: .*/server: voltha.voltha.local:443/" \
+          -e "s/kvstore: .*/kvstore: voltha-infra.local:443/" \
+          -e "s/useTLS: .*/useTLS: true/" | \
+      tee "/home/jenkins/.volt/config"
 """)
 
     leave('process')