Commit 393ae587 authored by 魏旭光's avatar 魏旭光

aaaaaa

parent e084315c
node { pipeline {
stage('git clone'){ agent{
node {
checkout scm checkout scm
}
stage('Build'){
def customImage = docker.build("my-image:${env.BUILD_ID}") def customImage = docker.build("my-image:${env.BUILD_ID}")
}
stage('test'){
customImage.inside { customImage.inside {
sh 'echo hello' sh 'echo hello'
} }
} }
} }
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment