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') { stage('Docker') {
steps { steps {
def dockerImage = docker.build("docker-iamge", "./docker") script {
dockerImage.inside { def dockerImage = docker.build("docker-iamge", "./docker")
sh 'ls -l' dockerImage.inside {
} sh 'ls -l'
}
}
} }
} }
// stage('Archive file') { // stage('Archive file') {