pipeline refactor
This commit is contained in:
parent
f46211393b
commit
e460895b44
@ -1,17 +1,18 @@
|
|||||||
pipelines:
|
pipelines:
|
||||||
default:
|
default:
|
||||||
- parallel:
|
- step:
|
||||||
- step:
|
name: Build and Test
|
||||||
runs-on:
|
caches:
|
||||||
- self.hosted
|
- maven
|
||||||
- macos
|
runs-on:
|
||||||
name: Run Webtests
|
- self.hosted
|
||||||
caches:
|
- macos
|
||||||
- maven
|
script:
|
||||||
script:
|
- mvn -B verify --file pom.xml
|
||||||
- mvn -B verify --file pom.xml
|
- mvn compiler:compile
|
||||||
- mvn compiler:compile
|
- mvn compiler:testCompile
|
||||||
- mvn compiler:testCompile
|
- mvn surefire:test
|
||||||
- mvn surefire:test
|
- export REPORTPATH="target/test-reports/*.*"
|
||||||
- export REPORTPATH="target/test-reports/*.*"
|
- export CMD="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}\""
|
||||||
- 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}"
|
- sh ${CMD}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user