pipeline refactor
This commit is contained in:
parent
3f60a59928
commit
9e31a9d557
5
archive.sh
Normal file
5
archive.sh
Normal file
@ -0,0 +1,5 @@
|
||||
#!/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}"
|
||||
|
@ -12,5 +12,4 @@ pipelines:
|
||||
- mvn compiler:compile
|
||||
- mvn compiler:testCompile
|
||||
- mvn surefire:test
|
||||
- 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}"
|
||||
- ./archive.sh
|
Loading…
Reference in New Issue
Block a user