diff --git a/api/Jenkinsfile.ble_test b/api/Jenkinsfile.ble_test index 88dd818..1c2cf3f 100644 --- a/api/Jenkinsfile.ble_test +++ b/api/Jenkinsfile.ble_test @@ -73,7 +73,7 @@ pipeline { cd /opt/ble-test/ble_api git pull cd /opt/ble-test/ble_api/api - screen -dmS test bash -c "cd /opt/ble-test/ble_api/api && python3 -u ./ble.py ${params.test_count} | tee /tmp/ble_test_${env.TEST_HASH}.log" + screen -dmS ble_test_${env.TEST_HASH} bash -c "cd /opt/ble-test/ble_api/api && python3 -u ./ble.py ${params.test_count} | tee /tmp/ble_test_${env.TEST_HASH}.log" tail -f /tmp/ble_test_${env.TEST_HASH}.log """ } @@ -92,7 +92,7 @@ pipeline { sh """ ssh -o StrictHostKeyChecking=no root@${params.host_ip} -o ServerAliveInterval=60 -o ServerAliveCountMax=120 << EOF if screen -list | grep -q ${env.TEST_HASH}; then - screen -S ${env.TEST_HASH} -X quit + screen -S ble_test_${env.TEST_HASH} -X quit fi """ }