playwrightjava1/bitbucket-pipelines.yml
2023-01-27 15:37:08 +00:00

18 lines
611 B
YAML

pipelines:
default:
- parallel:
- step:
runs-on:
- self.hosted
- macos
name: Run Webtests
caches:
- maven
script:
- mvn -B verify --file pom.xml
- 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}"