This commit is contained in:
Ionel Andrei Cataon
2026-02-12 16:06:27 +02:00
parent 7e5876822e
commit a605059fc5

View File

@@ -20,7 +20,7 @@ pipeline {
script {
echo "Verificăm sintaxa Python..."
// Am adaugat -v pentru ca Docker sa vada fisierele din Jenkins
sh 'docker run --rm -v "$(pwd)":/app -w /app/project2 python:3.9-slim python -m py_compile famousquotes.py'
sh 'docker run --rm -v "${WORKSPACE}/project2":/app -w /app python:3.9-slim python -m py_compile famousquotes.py'
}
}
}