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 """ } }