From 0d53bd945ec1e90c7b93a24976fe9deb9e88780a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Wed, 15 Nov 2023 14:22:49 +0100 Subject: [PATCH] Jenkinsfile: add 'git fetch' to failsafe target It was failing occationally with: 14:12:43 CMake Error at CMakeLists.txt:129 (list): 14:12:43 list index: 1 out of range (-1, 0) 14:12:43 14:12:43 14:12:43 CMake Error at CMakeLists.txt:131 (list): 14:12:43 list index: 2 out of range (-1, 0) 14:12:43 14:12:43 14:12:43 CMake Error at CMakeLists.txt:132 (string): 14:12:43 string sub-command REPLACE requires at least four arguments. 14:12:43 14:12:43 14:12:43 -- PX4 version: f513c40d62 (f513c40d62..NOTFOUND) --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index d218849f06..0b0c8d1870 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -105,6 +105,7 @@ pipeline { ./emsdk activate latest; cd ..; . ./_emscripten_sdk/emsdk_env.sh; + git fetch --all --tags; make failsafe_web; cd build/px4_sitl_default_failsafe_web; mkdir -p failsafe_sim;