tdb/Jenkinsfile

18 lines
352 B
Groovy

pipeline {
agent any
stages {
stage('build') {
steps {
checkout scm
script {
docker.image("golang:1.14-alpine").inside {
sh "apk add --no-cache protobuf-dev bash"
sh "go get -u github.com/golang/protobuf/protoc-gen-go"
sh "./test.sh"
}
}
}
}
}
}