dcache-build.yml 475 Bytes
Newer Older
1
2
3
4
5
6

stages:
  build:rpm
#  build:deb
#  build:tar

Tigran Mkrtchyan's avatar
Tigran Mkrtchyan committed
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"


# 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

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