Commit 8c79c995 authored by Noel's avatar Noel
Browse files

Merge branch 'master' into spring-boot-2.0

parents 9a9cb911 fc989968
Loading
Loading
Loading
Loading
+18 −11
Original line number Diff line number Diff line
image: redmic/maven-gitlab
stages:
  - build

maven-build:
  stage: build
  image: redmic/maven-gitlab
  variables:
  MAVEN_CLI_OPTS: "--batch-mode"
    MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"

  only:
    - master
  cache:
    paths:
      - .m2/repository/

deploy:
  script:
    - mvn $MAVEN_CLI_OPTS deploy
 No newline at end of file
    - mvn deploy -B
  artifacts:
    name: "$CI_PROJECT_NAME"
    expire_in: '6 months'
    paths:
      - target/*.jar