Try to build with Jenkins
This commit is contained in:
parent
129766ec61
commit
6b50eb1c3a
|
|
@ -4,13 +4,18 @@ pipeline {
|
||||||
stages {
|
stages {
|
||||||
stage ('Pre-Build') {
|
stage ('Pre-Build') {
|
||||||
steps {
|
steps {
|
||||||
sh 'make grpc'
|
sh 'go get -tags tools ./...'
|
||||||
|
sh 'buf generate'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Compile') {
|
stage('Compile') {
|
||||||
steps {
|
steps {
|
||||||
sh 'make grpc daemon-compile'
|
withEnv(["PATH+GO=${root}/go/bin"]) {
|
||||||
|
sh 'go env'
|
||||||
|
sh 'echo $PATH'
|
||||||
|
sh 'make daemon-compile'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue