20 lines
313 B
Plaintext
20 lines
313 B
Plaintext
|
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'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|