Fix OSM health check with vim-list in E2E pipeline
Change-Id: Iaf7a7e4ca8e896d0b377e95ede3dad9bba3baec9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/jenkins/ci-pipelines/ci_e2e_tests.groovy b/jenkins/ci-pipelines/ci_e2e_tests.groovy
index 6984d64..98a690e 100644
--- a/jenkins/ci-pipelines/ci_e2e_tests.groovy
+++ b/jenkins/ci-pipelines/ci_e2e_tests.groovy
@@ -314,8 +314,7 @@
timeout(time: 5, unit: 'MINUTES') {
String osmHostname = "nbi.${ipAddress}.nip.io"
sshCommand remote: remote, command: """
- export PATH=\"\\$PATH:\\$HOME/.local/bin\"
- OSM_HOSTNAME=\"${osmHostname}\" osm vim-list
+ OSM_HOSTNAME=${osmHostname} ~/.local/bin/osm vim-list
"""
}
} // stage('OSM Health')