6 lines
254 B
Bash
6 lines
254 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
export REPORTPATH="target/test-reports/*.*"
|
||
|
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}"
|
||
|
|