From c0662f8bbe7764d255ec68233607daf889fcd4a3 Mon Sep 17 00:00:00 2001 From: Kegan Myers Date: Thu, 16 Apr 2020 00:09:55 -0500 Subject: [PATCH] add shebang to test script; install bash in container --- Jenkinsfile | 2 +- test.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8fcb867..4be4384 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,7 +6,7 @@ pipeline { checkout scm script { 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 "./test.sh" } diff --git a/test.sh b/test.sh index 1e5771d..e5fa777 100755 --- a/test.sh +++ b/test.sh @@ -1,3 +1,4 @@ +#!/bin/bash set -Eeuxo pipefail # ./tdb/stringy