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:
default:
- step:
name: Commons build
image: maven:3.3.9
caches:
- maven
script:
- git clone git@bitbucket.org:locus2k/commons.git
- mvn -B install -f commons/pom.xml
- step:
name: Portal build
image: maven:3.3.9
caches:
- maven
script:
- cp pipeline-settings.xml $HOME/.m2/settings.xml
- mvn -B install # -B batch mode makes Maven less verbose
services:
- mysql
definitions:
services:
mysql:
image: mysql:5.7
environment:
MYSQL_DATABASE: 'portal'
MYSQL_ROOT_PASSWORD: 'let_me_in'
pipelines:
default:
- step:
name: Commons build
image: maven:3.3.9
caches:
- maven
- node
script:
- git clone git@bitbucket.org:locus2k/commons.git
- mvn -B install -f commons/pom.xml
- step:
name: Portal build
image: maven:3.3.9
size: 2x
caches:
- maven
- node
script:
- cp pipeline-settings.xml $HOME/.m2/settings.xml
- mvn -B install # -B batch mode makes Maven less verbose
services:
- mysql
definitions:
services:
mysql:
image: mysql:5.7
environment:
MYSQL_DATABASE: 'portal'
MYSQL_ROOT_PASSWORD: 'let_me_in'