root hace 5 años
padre
commit
b24275505c
Se han modificado 1 ficheros con 7 adiciones y 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){
+            
+          }
+        }
       } 
     }
 }