[VOL-3878] Using the patch under test when running sanity on voltha-helm-charts
Change-Id: Ie8120a2b03d78611935ebabdcd97eda0d82a24e1
diff --git a/jjb/pipeline/voltha/master/bbsim-tests.groovy b/jjb/pipeline/voltha/master/bbsim-tests.groovy
index c4cff5a..0dabbce 100644
--- a/jjb/pipeline/voltha/master/bbsim-tests.groovy
+++ b/jjb/pipeline/voltha/master/bbsim-tests.groovy
@@ -35,7 +35,12 @@
extraHelmFlags = extraHelmFlags + customImageFlags("${gerritProject}")
}
- volthaDeploy([workflow: name, extraHelmFlags: extraHelmFlags])
+ def localCharts = false
+ if (gerritProject == "voltha-helm-charts") {
+ localCharts = true
+ }
+
+ volthaDeploy([workflow: name, extraHelmFlags: extraHelmFlags, localCharts: localCharts])
// start logging
sh """
mkdir -p $WORKSPACE/${name}