gilo/Jenkinsfile

19 lines
271 B
Plaintext
Raw Normal View History

2021-03-30 19:42:49 -04:00
pipeline {
agent {
docker {
image 'golang:latest'
}
}
stages {
stage('Build') {
steps {
sh "go build"
}
}
stage('Test') {
steps {
sh "go test ./... -v"
}
}
}
}