mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
添加jenkins文件
This commit is contained in:
33
Jenkinsfile
vendored
33
Jenkinsfile
vendored
@@ -0,0 +1,33 @@
|
||||
pipeline{
|
||||
|
||||
agent any
|
||||
|
||||
options {
|
||||
|
||||
disableConcurrentBuilds()
|
||||
}
|
||||
|
||||
|
||||
triggers {
|
||||
pollSCM 'H/3 * * * * '
|
||||
}
|
||||
stages{
|
||||
|
||||
|
||||
stage("打包"){
|
||||
|
||||
|
||||
steps{
|
||||
|
||||
sh "docker build . -t coal:${env.BRANCH_NAME}"
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user