aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml26
1 files changed, 23 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 56f443c..c94aebb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,8 @@ variables:
LANGUAGE: "en_US"
LIB_NAME: "ms_specific"
GIT_DEPTH: "2"
- SECURE_LOG_LEVEL: "debug"
+ SECURE_LOG_LEVEL: "debug"
+ PROJECT_PACKAGE: '${CI_PROJECT_DIR}/moaSig/moa-sig/build/distributions/*.zip'
PROJECT_RELEASE_PACKAGE: "../release/"
include:
@@ -16,7 +17,7 @@ include:
stages:
- assemble
- test
-# - package
+ - package
- release
cache:
@@ -33,13 +34,32 @@ assemble:
- tags
script: |
cd ./moaSig
- ./gradlew clean assemble --warning-mode all
+ ./gradlew clean build --warning-mode all
artifacts:
when: always
+release_packaging:
+ stage: package
+ tags:
+ - docker
+ except:
+ - tags
+ script: |
+ cd ./moaSig
+ ./gradlew assemble
+ artifacts:
+ when: always
+ name: "${CI_PROJECT_NAME}-${CI_COMMIT_SHORT_SHA}"
+ reports:
+ dotenv: variables.env
+ paths:
+ - $PROJECT_PACKAGE
+
release:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
+ tags:
+ - docker
needs:
- job: assemble
artifacts: true