dockerscript

This commit is contained in:
s487179 2023-04-20 19:41:12 +02:00
parent 919f446857
commit 6ad6b3c5c3

View File

@ -37,10 +37,12 @@ pipeline {
}
stage('Docker') {
steps {
def dockerImage = docker.build("docker-iamge", "./docker")
dockerImage.inside {
sh 'ls -l'
}
script {
def dockerImage = docker.build("docker-iamge", "./docker")
dockerImage.inside {
sh 'ls -l'
}
}
}
}
// stage('Archive file') {