From a0de4bff883793ffaef03a49584a5df068ca9bb5 Mon Sep 17 00:00:00 2001 From: Cliff Hill Date: Tue, 26 Oct 2021 10:00:22 -0400 Subject: [PATCH] Trying to get Jenkins to play with Docker. Signed-off-by: Cliff Hill --- Jenkinsfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 10f069d..05da02b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,11 +1,12 @@ pipeline { - agent { - docker { image 'python:3.10-alpine3.14' } - } + agent any stages { stage('Test') { + agent { + docker { image 'python:3.10-alpine3.14' } + } steps { - sh 'echo $USER' + sh 'whoami' sh 'pwd' sh 'pip3 install -U pip' sh 'pip3 install wheel nox nox_poetry poetry'