add shebang to test script; install bash in container
This commit is contained in:
parent
c21629edba
commit
c0662f8bbe
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -6,7 +6,7 @@ pipeline {
|
||||||
checkout scm
|
checkout scm
|
||||||
script {
|
script {
|
||||||
docker.image("golang:1.14-alpine").inside {
|
docker.image("golang:1.14-alpine").inside {
|
||||||
sh "apk add --no-cache protobuf-dev"
|
sh "apk add --no-cache protobuf-dev bash"
|
||||||
sh "go get -u github.com/golang/protobuf/protoc-gen-go"
|
sh "go get -u github.com/golang/protobuf/protoc-gen-go"
|
||||||
sh "./test.sh"
|
sh "./test.sh"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue