20 lines
335 B
Groovy
20 lines
335 B
Groovy
pipeline {
|
|
agent { docker { image 'python:3.10.10' } }
|
|
stages {
|
|
stage('build') {
|
|
steps {
|
|
sh 'pip install --no-cache-dir --user -r requirements.txt'
|
|
}
|
|
}
|
|
stage('test') {
|
|
steps {
|
|
sh 'flake baseline.py'
|
|
}
|
|
}
|
|
stage('run') {
|
|
steps {
|
|
sh 'run.sh'
|
|
}
|
|
}
|
|
}
|
|
} |