dcache-cta-build.yaml 652 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
variables:
  MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true"
  REPO_NAME: nfs4j

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:
10
11
12
13
  key:
    files:
      - pom.xml
    prefix: "$CI_JOB_NAME"
14
  paths:
15
    - ./.m2/repository
16
17
18
19
20
21
22
23
24
25
26
27
28

build:
  stage: build
  script:
    - mvn $MAVEN_CLI_OPTS clean package

  artifacts:
    reports:
      junit:
        - "**/target/surefire-reports/TEST-*.xml"
        - "**/target/failsafe-reports/TEST-*.xml"
    paths:
      - "**/target/dcache-cta*.tar.gz"