root %!s(int64=5) %!d(string=hai) anos
pai
achega
b24275505c
Modificáronse 1 ficheiros con 7 adicións e 3 borrados
  1. 7 3
      env/test.jenkins

+ 7 - 3
env/test.jenkins

@@ -10,9 +10,13 @@ pipeline {
     stages {
       stage("build project") {
         steps {
-          sh 'go build main.go webPage.go'
-          echo "${currentBuild.currentResult}"
-	       }
+          try{
+            sh 'go build main.go webPage.go'
+	         }
+          catch (e){
+            
+          }
+        }
       } 
     }
 }