From b89e08754a361b610620ba4babc015fcb848d2c5 Mon Sep 17 00:00:00 2001 From: Richard Neumann Date: Thu, 7 Jan 2021 16:07:59 +0100 Subject: [PATCH] Added Jenkinsfile --- Jenkinsfile | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b89db63..31040d8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,29 +1,10 @@ pipeline { agent any stages { - stage('Create temporary directory') { - steps { - sh 'mkdir -p /tmp/jenkins-venv' - } - } - - stage('Create virtual env') { - steps { - sh ''' - python3 -m venv /tmp/jenkins-venv''' - } - } - - stage('Start virtual env') { - steps { - sh ' source /tmp/jenkins-venv/bin/activate' - } - } - stage('Install build dependencies') { steps { sh ''' - pip install -U pytest setuptools setuptools-git-version''' + pip install -U --update pip pytest setuptools setuptools-git-version''' } }