Explorar o código

gobin everywhere

jamesread %!s(int64=4) %!d(string=hai) anos
pai
achega
823a32eebe
Modificáronse 1 ficheiros con 7 adicións e 3 borrados
  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'
+						}
                     }
                 }
             }