Przeglądaj źródła

jenkins: buf in gobin

jamesread 4 lat temu
rodzic
commit
593667dd6b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -5,7 +5,6 @@ pipeline {
         stage ('Pre-Build') {
             steps {
 				sh 'go get -tags tools || true'
-                sh 'buf generate'
             }
         }
         
@@ -14,6 +13,7 @@ pipeline {
 				withEnv(["PATH+GO=${root}/go/bin"]) {
 					sh 'go env'
 					sh 'echo $PATH'
+                	sh 'buf generate'
 	                sh 'make daemon-compile'
 				}
             }