From a5bb9ff9c38c134502753baf8fa5c2fc0a7d075f Mon Sep 17 00:00:00 2001 From: matt Date: Fri, 23 Oct 2026 01:12:57 -0700 Subject: [PATCH] add check for rkfill to jenkinsfile --- api/Jenkinsfile.ble_test | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/api/Jenkinsfile.ble_test b/api/Jenkinsfile.ble_test index 0a57b8c..c760586 100644 --- a/api/Jenkinsfile.ble_test +++ b/api/Jenkinsfile.ble_test @@ -51,9 +51,9 @@ pipeline { } // --------------------------------------------------------------------- - // 2. Ensure screen is installed + // 2. Ensure apps are installed // --------------------------------------------------------------------- - stage('Ensure screen is present') { + stage('Ensure apps are present') { steps { sshagent([env.SSH_CREDENTIALS_ID]) { sh """ @@ -63,6 +63,11 @@ pipeline { echo ==MC== "screen not found - installing" apt-get update && apt-get install -y screen fi + echo ==MC== Checking for rfkill application... + if ! command -v rfkill > /dev/null; then + echo ==MC== "rfkill not found - installing" + apt-get update && apt-get install -y rfkill + fi """ } }