diff --git a/Jenkinsfile b/Jenkinsfile index e69de29b..520c03b8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -0,0 +1,33 @@ +pipeline{ + + agent any + + options { + + disableConcurrentBuilds() + } + + + triggers { + pollSCM 'H/3 * * * * ' + } + stages{ + + + stage("打包"){ + + + steps{ + + sh "docker build . -t coal:${env.BRANCH_NAME}" + + + } + + } + + } + + + +} \ No newline at end of file