Commit ef0fb468 authored by 魏旭光's avatar 魏旭光

aaaa

parent fad10a5d
node {
checkout scm
def customImage = docker.build("my-image:${env.BUILD_ID}")
stage('git clone'){
checkout scm
}
stage('Build'){
def customImage = docker.build("my-image:${env.BUILD_ID}")
}
stage('test'){
customImage.inside {
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