1dc93c5f0d
test test add jenkinsfile test test change to jenkinsfile fix to jenkinsfile asd asd asd asd asd
23 lines
462 B
Groovy
23 lines
462 B
Groovy
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'
|
|
}
|
|
}
|
|
}
|
|
}
|