.gitlab-ci.yml 251 Bytes
Newer Older
expectocode's avatar
expectocode committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
image: maven:latest

variables:
  PORT: "5000"

build:
  stage: build
  script:
    - mvn compile

test:
  stage: test
  script:
    - mvn test

deploy:
  stage: deploy
  script:
    - mvn package
    - sh target/bin/simplewebapp
  only:
    - master