pipeline {
agent {
docker {
image 'golang:latest'
args '--privileged'
}
stages {
stage('Build') {
steps {
sh "go build"
stage('Test') {
sh "go test ./... -v"