2023-01-27 12:51:37 +00:00
|
|
|
pipelines:
|
|
|
|
default:
|
|
|
|
- parallel:
|
|
|
|
- step:
|
2023-01-27 13:05:01 +00:00
|
|
|
runs-on:
|
|
|
|
- self.hosted
|
|
|
|
- macos
|
2023-01-27 12:51:37 +00:00
|
|
|
name: Run Webtests
|
|
|
|
caches:
|
|
|
|
- maven
|
|
|
|
script:
|
|
|
|
- mvn -B verify --file pom.xml
|
|
|
|
- mvn compiler:compile
|
|
|
|
- mvn compiler:testCompile
|
|
|
|
- mvn surefire:test
|
2023-01-27 15:37:08 +00:00
|
|
|
- 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}"
|