Commit 3b48c228 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

install rpm after build

parent cd2954b0
......@@ -2,6 +2,8 @@ stages:
- build:rpm
- build:deb
- build:tar
- deploy:rpm
variables:
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true -DskipTests"
......@@ -39,4 +41,10 @@ tar:
- mvn $MAVEN_CLI_OPTS -am -pl packages/tar clean package
artifacts:
paths:
- "packages/tar/target/dcache-*.tar.gz"
\ No newline at end of file
- "packages/tar/target/dcache-*.tar.gz"
install_rpm:
stage: deploy:rpm
image: centos:7
script:
- yum --nogpgcheck install -y packages/fhs/target/rpmbuild/RPMS/noarch/dcache*.rpm
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment