diff --git a/Jenkinsfile b/Jenkinsfile index 5f2dd0b..3f05db7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,10 @@ pipeline { stage('Hello') { steps { echo "hello wordl" - sh "python3 --version" + script { + img = 'python:latest' + docker.image("${img}").run('-d') + } } } }