pipeline refactor

This commit is contained in:
Greg Gauthier 2023-01-27 16:18:04 +00:00
parent e460895b44
commit 296972e519
1 changed files with 1 additions and 2 deletions

View File

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