Removed dir block from pipeline

This commit is contained in:
Marcin-Ramotowski 2025-06-07 13:54:56 +00:00
parent 8887f1b2bd
commit 63d8eeb03e

17
Jenkinsfile vendored
View File

@ -14,15 +14,14 @@ pipeline {
stage('Code Tests') { stage('Code Tests') {
steps { steps {
container('python') { container('python') {
dir('api') { sh '''
sh ''' cd api
cd api python3 -m venv env
python3 -m venv env source env/bin/activate
source env/bin/activate pip install -r requirements.txt pytest
pip install -r requirements.txt pytest python3 -m pytest --junit-xml=pytest_junit.xml
python3 -m pytest --junit-xml=pytest_junit.xml '''
'''
}
} }
} }
post { post {