Commit 1d31124a authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Aplica mejoras procedentes de template

parent cd2ceb28
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:
    - dev
  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