forked from community/device-mgt-core
parent
600e865c8a
commit
da90ca8973
@ -1,28 +0,0 @@
|
||||
image: charithag/docker-mvn-jdk8:latest
|
||||
|
||||
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 -Dmaven.test.skip=true
|
||||
|
||||
test:
|
||||
stage: test
|
||||
script:
|
||||
- mvn $MAVEN_CLI_OPTS test
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
script:
|
||||
- mvn $MAVEN_CLI_OPTS deploy -Dmaven.test.skip=true
|
||||
only:
|
||||
- master@entgra/carbon-device-mgt
|
||||
- kernel-4.6.x@entgra/carbon-device-mgt
|
@ -1,8 +0,0 @@
|
||||
language: java
|
||||
jdk:
|
||||
- oraclejdk8
|
||||
cache:
|
||||
directories:
|
||||
- .autoconf
|
||||
- $HOME/.m2
|
||||
script: mvn clean install
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue