Add guide
All checks were successful
rock-paper-scissors/pipeline/head This commit looks good

This commit is contained in:
Maxime Pierront
2025-11-23 19:39:15 +01:00
parent f42cc438a5
commit e66f2106ab

2
Jenkinsfile vendored
View File

@@ -36,7 +36,7 @@ pipeline {
cd "$WORKSPACE"
# 1) Arrêter l'ancienne instance de CE jar (et pas tout java)
OLD_PIDS=$(pgrep -f "rock-paper-scissors" || true)
OLD_PIDS=$(pgrep -f "rock-paper-scissors-0.0.1-SNAPSHOT.jar" || true)
if [ -n "$OLD_PIDS" ]; then
echo "Arrêt des anciennes instances: $OLD_PIDS"
kill $OLD_PIDS || true