Jenskinsfile: use nuttx container as emscripten requires xz to be installed

Fixes the error:
Error: tar (child): xz: Cannot exec: No such file or directory
This commit is contained in:
Beat Küng 2022-10-25 09:48:09 +02:00 committed by Daniel Agar
parent 740d2fccb1
commit 25fe13583e
1 changed files with 8 additions and 7 deletions

3
Jenkinsfile vendored
View File

@ -94,7 +94,7 @@ pipeline {
stage('failsafe docs') {
agent {
docker { image 'px4io/px4-dev-base-focal:2021-08-18' }
docker { image 'px4io/px4-dev-nuttx-focal:2021-08-18' }
}
steps {
sh '''#!/bin/bash -l
@ -103,6 +103,7 @@ pipeline {
cd _emscripten_sdk;
./emsdk install latest;
./emsdk activate latest;
cd ..;
. ./_emscripten_sdk/emsdk_env.sh;
make failsafe_web;
cd build/px4_sitl_default_failsafe_web;