From af116db3d8d40ecd14d70461e0eea33409b9af30 Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 18 Oct 2026 03:42:18 -0700 Subject: [PATCH] jenkinsfile - clear out old junk comments --- api/Jenkinsfile.ble_test | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/api/Jenkinsfile.ble_test b/api/Jenkinsfile.ble_test index 85dfa52..69d7964 100644 --- a/api/Jenkinsfile.ble_test +++ b/api/Jenkinsfile.ble_test @@ -34,7 +34,7 @@ pipeline { // keep only the last 6 digits → guarantees uniqueness env.TEST_HASH = - "ble_test_${String.format('%06d', epochSec % 1_000_000)}" + "${String.format('%06d', epochSec % 1_000_000)}" sh "echo Test Hash - ${env.TEST_HASH}" } @@ -99,10 +99,6 @@ pipeline { } } } - - //while screen -list | grep -q ble_test_${env.TEST_HASH}; do - // tail -f /tmp/ble_test_${env.TEST_HASH}.log - //done stage('View Test Logs'){ steps { sshagent([env.SSH_CREDENTIALS_ID]) { @@ -117,18 +113,6 @@ pipeline { } } - - //sh """ - //ssh -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF - // set -euo pipefail - // # Outer loop - runs as long as the screen session is alive - // while screen -list | grep -q "ble_test_${TEST_HASH}"; do - // # `tail -f` streams the file; the read-loop ensures line-by-line flush - // tail -n +1 -f /tmp/ble_test_${env.TEST_HASH}.log | while IFS= read -r line; do - // echo "\$line" - // done - // done - //""" // --------------------------------------------------------------------- // Post-build cleanup - kill the remote screen session // ---------------------------------------------------------------------