updated jenkinsfile
This commit is contained in:
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@@ -4,7 +4,10 @@ pipeline {
|
|||||||
stage('Hello') {
|
stage('Hello') {
|
||||||
steps {
|
steps {
|
||||||
echo "hello wordl"
|
echo "hello wordl"
|
||||||
sh "python3 --version"
|
script {
|
||||||
|
img = 'python:latest'
|
||||||
|
docker.image("${img}").run('-d')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user