dcache-build.yml 478 Bytes
Newer Older
1
stages:
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
2
3
4
  - build:rpm
# - build:deb
# - build:tar
5

Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
6
7
8
9
10
11
12
13
14
15
16
variables:
  MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true"


# 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

17
18
19
rpm:
  stage: build:rpm
  image: dcache/maven-java11-rpm-build
Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
20
  script:
21
    - mvn $MAVEN_CLI_OPTS -am -pl packages/fhs -P rpm