#!groovy pipeline { agent { label 'master' } options { timestamps() } stages { stage("build project") { steps { try{ sh 'go build main.go webPage.go' } catch (e){ } } } } }