Skip to content

Commit 0d53bd9

Browse files
committed
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: f513c40 (f513c40..NOTFOUND)
1 parent f513c40 commit 0d53bd9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Jenkinsfile

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ pipeline {
105105
./emsdk activate latest;
106106
cd ..;
107107
. ./_emscripten_sdk/emsdk_env.sh;
108+
git fetch --all --tags;
108109
make failsafe_web;
109110
cd build/px4_sitl_default_failsafe_web;
110111
mkdir -p failsafe_sim;

0 commit comments

Comments
 (0)