未验证 提交 59c36e34 编写于 作者: LinuxSuRen's avatar LinuxSuRen 提交者: GitHub

Add Jenkinsfile with build stage (#112)

* Add Jenkinsfile with build stage

* Fix the syntax error of Jenkinsfile

* Use steps to wrap container dsl

* Change agent label to golang-1.12
上级 188d9b8d
pipeline {
agent {
label 'golang-1.12'
}
stages {
stage('Build') {
parallel {
stage('MacOS') {
steps {
container('golang') {
sh label: 'make darwin', script: 'make darwin'
}
}
}
stage('Linux') {
steps {
container('golang') {
sh label: 'make linux', script: 'make linux'
}
}
}
stage('Windows') {
steps {
container('golang') {
sh label: 'make win', script: 'make win'
}
}
}
}
}
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册