root 5 anni fa
parent
commit
b24275505c
1 ha cambiato i file con 7 aggiunte e 3 eliminazioni
  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){
+            
+          }
+        }
       } 
     }
 }