jamesread 4 лет назад
Родитель
Сommit
823a32eebe
1 измененных файлов с 7 добавлено и 3 удалено
  1. 7 3
      Jenkinsfile

+ 7 - 3
Jenkinsfile

@@ -23,13 +23,17 @@ pipeline {
             parallel { 
                 stage('Codestyle') {
                     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') {
                     steps {
-                        sh 'make daemon-unittests'
+						withEnv(["PATH+GO=/root/go/bin/"]) {
+	                        sh 'make daemon-unittests'
+						}
                     }
                 }
             }