Browse Source

gobin everywhere

jamesread 4 năm trước cách đây
mục cha
commit
823a32eebe
1 tập tin đã thay đổi với 7 bổ sung3 xóa
  1. 7 3
      Jenkinsfile

+ 7 - 3
Jenkinsfile

@@ -23,13 +23,17 @@ pipeline {
             parallel { 
             parallel { 
                 stage('Codestyle') {
                 stage('Codestyle') {
                     steps {
                     steps {
-                        sh 'make daemon-codestyle'
-                        sh 'make webui-codestyle'
+						withEnv(["PATH+GO=/root/go/bin/"]) {
+                        	sh 'make daemon-codestyle'
+                        	sh 'make webui-codestyle'
+						}
                     }
                     }
                 }
                 }
                 stage('UnitTests') {
                 stage('UnitTests') {
                     steps {
                     steps {
-                        sh 'make daemon-unittests'
+						withEnv(["PATH+GO=/root/go/bin/"]) {
+	                        sh 'make daemon-unittests'
+						}
                     }
                     }
                 }
                 }
             }
             }