add shebang to test script; install bash in container

This commit is contained in:
Kegan Myers 2020-04-16 00:09:55 -05:00
parent c21629edba
commit c0662f8bbe
2 changed files with 2 additions and 1 deletions

2
Jenkinsfile vendored
View file

@ -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"
} }

View file

@ -1,3 +1,4 @@
#!/bin/bash
set -Eeuxo pipefail set -Eeuxo pipefail
# ./tdb/stringy # ./tdb/stringy