@@ -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){
+
}