Forcing clean image rebuild with --no-cache in Jenkinsfile
Change-Id: Icd0a5d6b2668752788656fe9da108c902eb03e71
diff --git a/Jenkinsfile b/Jenkinsfile
index cba46f6..4144c24 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -26,8 +26,8 @@
sh 'npm test'
stage 'Build GUI docker container'
- sh 'docker build -t xosproject/xos-gui .'
- sh 'docker run -p 4000:4000 --net=host -d xosproject/xos-gui'
+ sh 'docker build --no-cache -t xosproject/xos-gui .'
+ sh 'docker run -p 4000:4000 --net=host --name xos-gui -d xosproject/xos-gui'
sh 'curl 127.0.0.1:4000/spa/ --write-out %{http_code} --silent --output /dev/null | grep 200'
currentBuild.result = 'SUCCESS'