[calico] Fix glide cache issues with libcalico-go
Change-Id: Icbfcd4c789d3eb237464f5ea54d79c0748971889
diff --git a/src/com/mirantis/mcp/Calico.groovy b/src/com/mirantis/mcp/Calico.groovy
index 51826c2..2ed3563 100644
--- a/src/com/mirantis/mcp/Calico.groovy
+++ b/src/com/mirantis/mcp/Calico.groovy
@@ -360,6 +360,9 @@
withWipeOut : true,
])
+ //FIXME(skulanov) we need to clean local cache for libcalico-go
+ sh "rm -rf ~/.glide/cache/src/file-*"
+
sh "cp ${glideLockFilePath} ${glideLockFilePath}.bak"
def glideLockFileContent = readFile file: glideLockFilePath
def glideMap = common.loadYAML(glideLockFileContent)