diff --git a/hack/build.sh b/hack/build.sh index e380f8b07..413255387 100755 --- a/hack/build.sh +++ b/hack/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright 2020 The Knative Authors # diff --git a/test/e2e/kn_admin_test.go b/test/e2e/kn_admin_test.go index ef9741bd4..3a649ea3c 100644 --- a/test/e2e/kn_admin_test.go +++ b/test/e2e/kn_admin_test.go @@ -108,6 +108,9 @@ func TestKnAdminPlugin(t *testing.T) { } func TestKnAdminPluginWithNoKubectlContext(t *testing.T) { + if strings.Contains(os.Getenv("JOB_NAME"), "release") { + t.Skip("Skip in release job, due to serviceAccount clash.") + } e2eTest := newE2ETest(t) assert.Assert(t, e2eTest != nil) defer func() {