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. 7
      Jenkinsfile

7
Jenkinsfile

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

Loading…
Cancel
Save