deploy dir for ci

This commit is contained in:
Bossanyi Tibor 2020-05-10 11:52:41 +02:00
parent 3a78c5b2f9
commit 7239d4de14
2 changed files with 13 additions and 11 deletions

View File

@ -2,6 +2,7 @@ services:
- mysql:latest
stages:
- build
- prepare
- test
- deploy
@ -24,17 +25,17 @@ cache:
- .gradle/wrapper
- .gradle/caches
#build:
# stage: build
# image: openjdk:latest
# script:
# - ./gradlew assemble
# artifacts:
# paths:
# - build/libs/*.jar
# expire_in: 1 week
# only:
# - master
build:
stage: build
image: openjdk:latest
script:
- ./gradlew assemble
artifacts:
paths:
- build/libs/*.jar
expire_in: 1 week
only:
- master
connect:
stage: prepare

1
deploy/readme.md Normal file
View File

@ -0,0 +1 @@
jar file to deploy