Skip to content

Commit

Permalink
Jenkinsfile: add 'git fetch' to failsafe target
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
bkueng committed Nov 15, 2023
1 parent f513c40 commit 0d53bd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0d53bd9

Please sign in to comment.