2023-10-24 14:03:53 +02:00
|
|
|
pipeline {
|
2023-10-24 15:53:46 +02:00
|
|
|
agent { docker { image 'python:3.10.10' } }
|
2023-10-24 14:03:53 +02:00
|
|
|
stages {
|
|
|
|
stage('build') {
|
|
|
|
steps {
|
2023-10-24 15:58:08 +02:00
|
|
|
sh 'pip install --no-cache-dir --user -r requirements.txt'
|
2023-10-24 14:03:53 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('test') {
|
|
|
|
steps {
|
|
|
|
sh 'flake baseline.py'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('run') {
|
|
|
|
steps {
|
|
|
|
sh 'run.sh'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|