Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- image: maven:3.3.9-jdk-8
- stages:
- - test
- - build
- cache:
- paths:
- - /root/.m2/repository/
- before_script:
- - apt-get update -y && apt-get upgrade -y
- test:
- stage: test
- script:
- - mvn test
- build:
- stage: build
- script:
- - mvn install -B
- artifacts:
- name: "hw3"
- paths:
- - ./target/hw3*.jar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement