Cleaning partial images

Change-Id: I1fb3035cef788e75483732a776823f4fd5bf56fd
diff --git a/Jenkinsfile b/Jenkinsfile
index 91821c7..3cbef8a 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -41,6 +41,7 @@
                 sh 'docker stop xos-gui'
                 sh 'docker rm xos-gui'
                 sh 'docker rmi xosproject/xos-gui'
+                sh 'docker rmi $(docker images | grep none | awk '{print $3}')'
             }
             echo "RESULT: ${currentBuild.result}"
        }