Fix OSM health check with vim-list in E2E pipeline 51/15651/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 14 Jan 2026 15:32:45 +0000 (16:32 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 14 Jan 2026 15:32:52 +0000 (16:32 +0100)
Change-Id: Iaf7a7e4ca8e896d0b377e95ede3dad9bba3baec9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
jenkins/ci-pipelines/ci_e2e_tests.groovy

index 6984d64..98a690e 100644 (file)
@@ -314,8 +314,7 @@ node('pool') {
                 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')