#!groovy pipeline { agent { label 'master' } options { timestamps() } stages { stage("build project") { steps { sh 'go build main.go webPage.go' echo "${currentBuild.currentResult}"" } } } }