gilo/Jenkinsfile
Timothy J. Warren 39ebce63dc
Some checks failed
timw4mail/gilo/pipeline/head There was a failure building this commit
Make it so Jenkins can actually build
2021-03-30 20:47:50 -04:00

20 lines
298 B
Groovy

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