Răsfoiți Sursa

Try to build with Jenkins

jamesread 4 ani în urmă
părinte
comite
6b50eb1c3a
1 a modificat fișierele cu 7 adăugiri și 2 ștergeri
  1. 7 2
      Jenkinsfile

+ 7 - 2
Jenkinsfile

@@ -4,13 +4,18 @@ pipeline {
     stages {
         stage ('Pre-Build') {
             steps {
-                sh 'make grpc'
+				sh 'go get -tags tools ./...'
+                sh 'buf generate'
             }
         }
         
         stage('Compile') {
             steps {
-                sh 'make grpc daemon-compile'
+				withEnv(["PATH+GO=${root}/go/bin"]) {
+					sh 'go env'
+					sh 'echo $PATH'
+	                sh 'make daemon-compile'
+				}
             }
         }