Add Jenkinsfile
This commit is contained in:
parent
d76ec637f5
commit
572adb692f
20
Jenkinsfile
vendored
Normal file
20
Jenkinsfile
vendored
Normal 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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user