.gitlab-ci.yml 308 Bytes
Newer Older
James Coyle's avatar
James Coyle committed
1 2
before_script:
  - export PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/mvn
James Coyle's avatar
James Coyle committed
3

James Coyle's avatar
James Coyle committed
4 5
stages:
  - build
James Coyle's avatar
James Coyle committed
6
  - deploy
James Coyle's avatar
James Coyle committed
7
    
James Coyle's avatar
James Coyle committed
8
job_build:
James Coyle's avatar
James Coyle committed
9 10 11 12
  stage: build
  script:
    - mvn install
  tags:
James Coyle's avatar
James Coyle committed
13 14 15 16
    - java

job_deploy:
  stage: deploy
James Coyle's avatar
James Coyle committed
17
  script:
James Coyle's avatar
James Coyle committed
18
    - mvn -Dfile.encoding=UTF-8 deploy
James Coyle's avatar
James Coyle committed
19 20 21
  only:
    - master
  tags:
James Coyle's avatar
James Coyle committed
22
    - java