diff --git a/jenkinsfile/Jenkinsfile b/jenkinsfile/Jenkinsfile
index 96f7596636f8644ffa645044aecd6bf78a6dbd08..64bb44e58bf4793d8bf516809d46cc252a1b1cd2 100644
--- a/jenkinsfile/Jenkinsfile
+++ b/jenkinsfile/Jenkinsfile
@@ -27,8 +27,7 @@ pipeline {
                     fi
 
                     # Greenbone connection test
-                    export HOST_IP=`/sbin/ip route list scope link | grep -v " 172." | awk '{print $7}' | tr -d '\n'`
-                    gvm-cli --gmp-username $GMP_USERNAME --gmp-password $GMP_PASSWD tls --hostname $HOST_IP --xml "<get_version/>"
+                    /usr/local/bin/gvm-cli --gmp-username $GMP_USERNAME --gmp-password $GMP_PASSWD tls --hostname $HOST_IP --xml "<get_version/>"
 
                 '''
             }