From 296972e519213ac77ca87ec202c77afed3e9be70 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Fri, 27 Jan 2023 16:18:04 +0000 Subject: [PATCH] pipeline refactor --- bitbucket-pipelines.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index e6e5f48..6b7b40b 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -13,6 +13,5 @@ pipelines: - mvn compiler:testCompile - mvn surefire:test - export REPORTPATH="target/test-reports/*.*" - - export CMD="curl -H \"Authorization: Bearer ${BEARER_TOKEN}\" -X POST \"https://api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads\" --form files=@\"${REPORTPATH}\"" - - sh ${CMD} + - curl -H "Authorization: Bearer ${BEARER_TOKEN}" -X POST "https://api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads" --form files=@"${REPORTPATH}"