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

aaaaaa

parent e084315c
node {
stage('git clone'){
pipeline {
agent{
node {
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