Browse Source

Update Jenkinsfile

pull/2/head
Richard Neumann 4 years ago
committed by GitHub
parent
commit
4c1e417a77
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      Jenkinsfile

5
Jenkinsfile

@ -3,8 +3,9 @@ pipeline {
stages {
stage('pytest') {
steps {
sh '''python3 -m venv /var/build/jenkins
source /var/build/jenkins/bin/activate
sh '''mkdir -p /tmp/jenkins-venv
python3 -m venv /tmp/jenkins-venv
source /tmp/jenkins-venv/bin/activate
pip install -U pytest
pip install -r requirements.txt
pytest

Loading…
Cancel
Save