From d474f8d28ba13c7f4776e03483bfe5f38e6fcd63 Mon Sep 17 00:00:00 2001 From: Marcin Tojek Date: Fri, 16 Jul 2021 11:59:57 +0200 Subject: [PATCH] Fix: folder is not a git repository (#432) --- .ci/Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci/Jenkinsfile b/.ci/Jenkinsfile index b627b9c83..f856e4d0c 100644 --- a/.ci/Jenkinsfile +++ b/.ci/Jenkinsfile @@ -74,7 +74,9 @@ pipeline { } steps { withCredentials([string(credentialsId: "${GITHUB_TOKEN_CREDENTIALS}", variable: 'GITHUB_TOKEN')]) { - sh 'curl -sL https://git.io/goreleaser | bash' + dir("${BASE_DIR}") { + sh 'curl -sL https://git.io/goreleaser | bash' + } } } }