From a07c831388890d06caedad583492499b5b594355 Mon Sep 17 00:00:00 2001 From: matt Date: Mon, 19 Oct 2026 02:27:23 -0700 Subject: [PATCH] jenkinsfile - add q flag to ssh --- api/Jenkinsfile.ble_test | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/Jenkinsfile.ble_test b/api/Jenkinsfile.ble_test index 59323f4..100c7e0 100644 --- a/api/Jenkinsfile.ble_test +++ b/api/Jenkinsfile.ble_test @@ -48,7 +48,7 @@ pipeline { steps { sshagent([env.SSH_CREDENTIALS_ID]) { sh """ - ssh -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF + ssh -q -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF if ! command -v screen > /dev/null; then echo "screen not found - installing" apt-get update && apt-get install -y screen @@ -65,7 +65,7 @@ pipeline { steps { sshagent([env.SSH_CREDENTIALS_ID]) { sh """ - ssh -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF + ssh -q -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF sleep 5 cd /opt/ble-test/ble_api git pull @@ -81,7 +81,7 @@ pipeline { steps { sshagent([env.SSH_CREDENTIALS_ID]) { sh """ - ssh -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF + ssh -q -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF echo === Initiating Tail Watchdog === screen -dmS ble_test_watchdog_${env.TEST_HASH} sh -c ' while ! pgrep -f "tail.*ble_test_${env.TEST_HASH}" > /dev/null; do @@ -105,7 +105,7 @@ pipeline { steps { sshagent([env.SSH_CREDENTIALS_ID]) { sh """ - ssh -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF + ssh -q -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF while screen -list | grep -q ble_test_${env.TEST_HASH}; do tail -f /tmp/ble_test_${env.TEST_HASH}.log || true done @@ -124,7 +124,7 @@ pipeline { always { sshagent([env.SSH_CREDENTIALS_ID]) { sh """ - ssh -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF + ssh -q -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF screen -wipe if screen -list | grep -q ${env.TEST_HASH}; then screen -S ble_test_watchdog_${env.TEST_HASH} -X quit