Trying to get Jenkins to play with Docker.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
Vendored
+5
-4
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user