forked from community/product-iots
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
402 B
24 lines
402 B
variables:
|
|
MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode"
|
|
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
|
|
|
|
cache:
|
|
paths:
|
|
- .m2/repository/
|
|
- target/
|
|
|
|
build:
|
|
stage: build
|
|
script:
|
|
- mvn $MAVEN_CLI_OPTS clean install
|
|
tags:
|
|
- OracleJDK1.8
|
|
|
|
deploy:
|
|
stage: deploy
|
|
script:
|
|
- mvn $MAVEN_CLI_OPTS deploy
|
|
only:
|
|
- master@entgra/product-iots
|
|
tags:
|
|
- OracleJDK1.8 |