Browse Source

Update Jenkinsfile

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

8
Jenkinsfile

@ -1,9 +1,4 @@
pipeline { pipeline {
agent {
docker {
image 'qnib/pytest:latest'
}
} }
stages { stages {
stage('pytest') { stage('pytest') {
@ -12,6 +7,7 @@ pipeline {
python3 -m venv /tmp/jenkins-venv python3 -m venv /tmp/jenkins-venv
source /tmp/jenkins-venv/bin/activate source /tmp/jenkins-venv/bin/activate
pip install -U pytest setuptools setuptools-git-version pip install -U pytest setuptools setuptools-git-version
ls -R
python3 setup.py install python3 setup.py install
pytest pytest
''' '''
@ -19,4 +15,4 @@ pipeline {
} }
} }
} }

Loading…
Cancel
Save