This commit is contained in:
Marks Polakovs 2020-04-07 12:22:29 +02:00
parent 9577907ec9
commit 57f522a1b7

5
Jenkinsfile vendored
View file

@ -16,8 +16,7 @@ pipeline {
stage('Python') {
steps {
sh '/usr/local/bin/python3.7 -m venv env'
sh '. env/bin/activate'
sh 'pip install -r requirements.txt'
sh 'env/bin/pip install -r requirements.txt'
}
}
}
@ -32,7 +31,7 @@ pipeline {
}
stage('MyPy') {
steps {
sh 'mypy server.py'
sh 'env/bin/mypy server.py'
}
}
}