Add Jenkinsfile

This commit is contained in:
Filip Gralinski 2023-10-24 14:03:53 +02:00
parent d76ec637f5
commit 572adb692f
1 changed files with 20 additions and 0 deletions

20
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,20 @@
pipeline {
agent { docker { image 'python:3.10.10' } }
stages {
stage('build') {
steps {
sh 'pip install -r requirements.txt'
}
}
stage('test') {
steps {
sh 'flake baseline.py'
}
}
stage('run') {
steps {
sh 'run.sh'
}
}
}
}