pipeline { agent { docker { image 'golang:latest' label 'docker-build' } } stages { stage('build') { steps { sh 'go build' } post { success { archiveArtifacts artifacts: 'pnut-bridge', fingerprint: true } } } } }