From 63d8eeb03ec01f3224b613367f8ad48837fe635d Mon Sep 17 00:00:00 2001 From: Marcin-Ramotowski Date: Sat, 7 Jun 2025 13:54:56 +0000 Subject: [PATCH] Removed dir block from pipeline --- Jenkinsfile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e559f42..02edb2c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,15 +14,14 @@ pipeline { stage('Code Tests') { steps { container('python') { - dir('api') { - sh ''' - cd api - python3 -m venv env - source env/bin/activate - pip install -r requirements.txt pytest - python3 -m pytest --junit-xml=pytest_junit.xml - ''' - } + sh ''' + cd api + python3 -m venv env + source env/bin/activate + pip install -r requirements.txt pytest + python3 -m pytest --junit-xml=pytest_junit.xml + ''' + } } post {