Corrected directory in jenkins pipeline

This commit is contained in:
Marcin-Ramotowski 2025-05-03 20:21:02 +00:00
parent dcd9a39b46
commit fb260a0f6d

2
Jenkinsfile vendored
View File

@ -14,6 +14,7 @@ pipeline {
stage('Test python app') {
steps {
script {
dir('api') {
sh '''
python3 -m venv env
env/bin/pip install -r requirements.txt pytest
@ -21,6 +22,7 @@ pipeline {
'''
}
}
}
post {
always {
junit testResults: '**/*pytest_junit.xml'