up5
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user