I want to run a python file or set of python commands via a JenkinsFile. How do I approach this?
I run the code below and My Jenkins Job never finishes.
pipeline {
agent { docker { image 'python:3.5.1' } }
stages {
stage('build') {
steps {
sh 'python --version'
}
}
}
}