build
build:
variables:
GIT_CHECKOUT: "true"
tags:
- k8s
image: maven:3.6.3-jdk-8
stage: build
extends: .build
rules:
- when: on_success
after_script:
- ls target/
test
test:
before_script:
- ls target/
tags:
- k8s
image: maven:3.6.3-jdk-8
stage: test
extends: .test
rules:
- when: on_success
after_script:
- ls target/
code_analysis
code_analysis:
tags:
- k8s
image: sonarsource/sonar-scanner