playwrightjava1/archive.sh

6 lines
254 B
Bash
Raw Normal View History

2023-01-27 16:32:42 +00:00
#!/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}"