forcing images to be tagged with candidate for api repo tests

Change-Id: Id154ead820280239bde27d8700c3461485102045
diff --git a/jjb/pipeline/all-xos-api-test-helm.groovy b/jjb/pipeline/all-xos-api-test-helm.groovy
index 677b41e..30a64c5 100644
--- a/jjb/pipeline/all-xos-api-test-helm.groovy
+++ b/jjb/pipeline/all-xos-api-test-helm.groovy
@@ -161,18 +161,18 @@
         sh """
            pushd cord/helm-charts
            helm dep up xos-core
-           helm install -f examples/api-test-values.yaml xos-core -n xos-core
+           helm install -f examples/image-tag-candidate.yaml -f imagePullPolicy-IfNotPresent.yaml -f examples/api-test-values.yaml xos-core -n xos-core
            sleep 300
            helm status xos-core
            if [[ "$GERRIT_PROJECT" =~ ^(rcord|vrouter|vsg|vtn-service|vtr|fabric|openstack|chameleon|exampleservice|simpleexampleservice|onos-service|olt-service|kubernetes-service|hippie-oss|vsg-hw)\$ ]]; then
                helm dep update xos-profiles/rcord-lite
-               helm install xos-profiles/rcord-lite -n rcord-lite
+               helm install -f examples/image-tag-candidate.yaml -f imagePullPolicy-IfNotPresent.yaml -f examples/api-test-values.yaml xos-profiles/rcord-lite -n rcord-lite
                sleep 360
 
            fi
            if [[ "$GERRIT_PROJECT" =~ ^(mcord|vspgwu|venb|vspgwc|vEPC|vMME|vHSS|hss_db|epc-service|internetemulator|sdn-controller)\$ ]]; then
                helm dep update xos-profiles/mcord
-               helm install xos-profiles/mcord -n mcord
+               helm install -f examples/image-tag-candidate.yaml -f imagePullPolicy-IfNotPresent.yaml -f examples/api-test-values.yaml  xos-profiles/mcord -n mcord
                sleep 900
            fi
            helm status xos-core
diff --git a/jjb/pipeline/helm-api-test.groovy b/jjb/pipeline/helm-api-test.groovy
index 271e617..43d0363 100644
--- a/jjb/pipeline/helm-api-test.groovy
+++ b/jjb/pipeline/helm-api-test.groovy
@@ -147,7 +147,7 @@
         sh '''
            pushd cord/helm-charts
            helm dep up xos-core
-           helm install -f examples/api-test-values.yaml xos-core -n xos-core
+           helm install -f examples/image-tag-candidate.yaml -f imagePullPolicy-IfNotPresent.yaml -f examples/api-test-values.yaml xos-core -n xos-core
            sleep 60
            helm status xos-core
            popd