Merge "SEBA-557 Build with release version numbers"
diff --git a/jjb/pipeline/xos-core.groovy b/jjb/pipeline/xos-core.groovy
index 6ca735c..dca5f16 100644
--- a/jjb/pipeline/xos-core.groovy
+++ b/jjb/pipeline/xos-core.groovy
@@ -94,10 +94,13 @@
            #!/usr/bin/env bash
            set -eu -o pipefail
 
+           export DOCKER_REPOSITORY=xosproject/
+           export DOCKER_TAG=\$(cat $WORKSPACE/cord/orchestration/xos/VERSION)
+
            cd $WORKSPACE/cord/orchestration/xos/containers/xos
            make build
            cd $WORKSPACE/cord/orchestration/xos/testservice
-           make DOCKER_TAG=candidate DOCKER_BUILD_ARGS=--no-cache DOCKER_REPOSITORY=xosproject/ docker-build
+           make DOCKER_BUILD_ARGS=--no-cache docker-build
            """
       }
     }
@@ -108,16 +111,20 @@
            #!/usr/bin/env bash
            set -eu -o pipefail
 
+           export DOCKER_TAG=\$(cat $WORKSPACE/cord/orchestration/xos/VERSION)
+
            pushd cord/helm-charts
            helm dep update xos-core
-           helm install --set images.xos_core.tag=candidate,images.xos_core.pullPolicy=Never xos-core -n xos-core
+           helm install --set images.xos_core.tag=\$DOCKER_TAG,images.xos_core.pullPolicy=Never xos-core -n xos-core
 
            git clone https://gerrit.opencord.org/helm-repo-tools
            helm-repo-tools/wait_for_pods.sh
 
            #install testservice
            cd $WORKSPACE/cord/orchestration/xos/testservice/helm-charts
-           helm install -f testservice-devel.yaml testservice -n testservice
+           helm install --set testservice_synchronizerImage=xosproject/testservice-synchronizer:\$DOCKER_TAG \
+                        --set imagePullPolicy=Never \
+                        testservice -n testservice
            popd
            """
       }