From 28b21a83fa9a210d3a149e5ed349c4adf53faadc Mon Sep 17 00:00:00 2001 From: ManuelJNunez Date: Thu, 11 Mar 2021 21:04:15 +0100 Subject: [PATCH] ops: change build stage #16 --- Jenkinsfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index cc90474..d591b90 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,17 +2,15 @@ pipeline { agent { docker { image 'python:3.8-slim' - args '--user 0:113' } } stages { stage('Build') { steps { - sh 'pip install poetry' - sh 'python --version' + sh 'pip install --target ${env.WORKSPACE} poetry' + sh 'poetry install' } } - } } \ No newline at end of file