Removed unnecessary post cleanup
This commit is contained in:
parent
8887f1b2bd
commit
17162027b6
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -16,7 +16,6 @@ pipeline {
|
|||||||
container('python') {
|
container('python') {
|
||||||
dir('api') {
|
dir('api') {
|
||||||
sh '''
|
sh '''
|
||||||
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
|
||||||
@ -54,14 +53,9 @@ pipeline {
|
|||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
junit testResults: '**/*pytest_junit.xml'
|
junit testResults: '**/*goss_junit.xml'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
|
||||||
cleanup {
|
|
||||||
script { cleanWs() }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user