gilo/Jenkinsfile
Timothy J. Warren 098cbbe3ed
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:49:53 -04:00

26 lines
417 B
Groovy

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