bitbucket-pipelines.yml edited online with Bitbucket

This commit is contained in:
Isaac Parenteau committed 2018-07-08 02:53:18 +00:00
1 parent b53702cd51
commit fa45c13482
1 file changed
+31 -28
+31 -28
View File
@@ -1,28 +1,31 @@
pipelines: pipelines:
default: default:
- step: - step:
name: Commons build name: Commons build
image: maven:3.3.9 image: maven:3.3.9
caches: caches:
- maven - maven
script: - node
- git clone git@bitbucket.org:locus2k/commons.git script:
- mvn -B install -f commons/pom.xml - git clone git@bitbucket.org:locus2k/commons.git
- step: - mvn -B install -f commons/pom.xml
name: Portal build - step:
image: maven:3.3.9 name: Portal build
caches: image: maven:3.3.9
- maven size: 2x
script: caches:
- cp pipeline-settings.xml $HOME/.m2/settings.xml - maven
- mvn -B install # -B batch mode makes Maven less verbose - node
services: script:
- mysql - cp pipeline-settings.xml $HOME/.m2/settings.xml
- mvn -B install # -B batch mode makes Maven less verbose
definitions: services:
services: - mysql
mysql:
image: mysql:5.7 definitions:
environment: services:
MYSQL_DATABASE: 'portal' mysql:
MYSQL_ROOT_PASSWORD: 'let_me_in' image: mysql:5.7
environment:
MYSQL_DATABASE: 'portal'
MYSQL_ROOT_PASSWORD: 'let_me_in'