ium_s487182/Jenkinsfile-Docker

9 lines
161 B
Plaintext

node {
checkout scm
def testImage = docker.build("test-image")
testImage.inside {
sh 'ls -l'
}
sh 'docker run test-image'
}