添加jenkins文件

This commit is contained in:
2023-08-04 14:19:11 +08:00
parent 25a7ef760a
commit 4aa08dd3f2

33
Jenkinsfile vendored
View File

@@ -0,0 +1,33 @@
pipeline{
agent any
options {
disableConcurrentBuilds()
}
triggers {
pollSCM 'H/3 * * * * '
}
stages{
stage("打包"){
steps{
sh "docker build . -t coal:${env.BRANCH_NAME}"
}
}
}
}