dcache-build.yml 537 Bytes
Newer Older
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
variables:
  MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true"
  REPO_NAME: dcache

image: maven:3.6.3-openjdk-11

# Cache downloaded dependencies and plugins between builds.
# To keep cache across branches add 'key: "$CI_JOB_NAME"'
cache:
  key: "CI_JOB_NAME"
  paths:
    - .m2/repository

build:
  stage: build
  script:
    - mvn $MAVEN_CLI_OPTS -am -pl packages/tar -P rpm,code-coverage clean package verify pmd:cpd com.github.spotbugs:spotbugs-maven-plugin:3.1.12:spotbugs