#!groovy pipeline { agent { label 'master' } options { timestamps() } stages { stage("build project") { steps { sh 'go build main.go webPage.go' } } } post { success { echo 'I succeeeded!' } unstable { echo 'I am unstable :/' } failure { echo 'I failed :(' } changed { echo 'Things were different before...' } } }