10 lines
187 B
Plaintext
10 lines
187 B
Plaintext
node {
|
|
sh "chmod +x test.sh"
|
|
checkout scm
|
|
def testImage = docker.build("test-image")
|
|
testImage.inside {
|
|
|
|
sh 'ls -l'
|
|
}
|
|
sh 'docker run test-image'
|
|
} |