diff options
author | Thomas <> | 2021-03-24 13:01:51 +0100 |
---|---|---|
committer | Thomas <> | 2021-03-24 13:01:51 +0100 |
commit | 697a290400d2ee5f148fdf3356683d0f436dd0ab (patch) | |
tree | f4d27f6a94ab0e6aae6f5d6d7a73191daefad6b4 /.gitlab-ci.yml | |
parent | 835a395f3ecb7477b5b67e9da9bf3af58c86473a (diff) | |
download | moa-sig-697a290400d2ee5f148fdf3356683d0f436dd0ab.tar.gz moa-sig-697a290400d2ee5f148fdf3356683d0f436dd0ab.tar.bz2 moa-sig-697a290400d2ee5f148fdf3356683d0f436dd0ab.zip |
GitLab CI update again
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 26 |
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 |