Trying to get Jenkins to play with Docker.

Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
2021-10-26 10:00:22 -04:00
parent 7ae4dd4e3b
commit a0de4bff88
Vendored
+5 -4
View File
@@ -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'