Add Jenkinsfile.
This commit is contained in:
parent
5f0e2fbd0e
commit
b49314044d
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
@ -0,0 +1,18 @@
|
||||
pipeline {
|
||||
agent { docker { image 'python:3.9' } }
|
||||
stages {
|
||||
stage('build') {
|
||||
steps {
|
||||
sh 'pip install pipenv'
|
||||
sh 'pipenv shell --python 3.9'
|
||||
sh 'pipenv install'
|
||||
}
|
||||
}
|
||||
stage('test') {
|
||||
steps {
|
||||
sh './run_tests.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
JENKINSFILE
|
Loading…
Reference in New Issue
Block a user