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