23 lines
462 B
Plaintext
23 lines
462 B
Plaintext
|
pipeline {
|
||
|
agent {
|
||
|
docker {
|
||
|
image 'python:latest'
|
||
|
args '-u root --privileged'
|
||
|
}
|
||
|
}
|
||
|
stages {
|
||
|
stage('build') {
|
||
|
steps {
|
||
|
sh 'bash setup_core.sh'
|
||
|
sh 'pip install -r requirements.txt'
|
||
|
sh 'pip install --user -e .'
|
||
|
}
|
||
|
}
|
||
|
stage('test') {
|
||
|
steps {
|
||
|
sh 'pytest'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|