Update .gitlab-ci.yml
This commit is contained in:
+8
-10
@@ -6,7 +6,6 @@ stages:
|
||||
- gradleSetup
|
||||
- build_18-1
|
||||
- build_18-2
|
||||
- archive
|
||||
|
||||
variables:
|
||||
# Let's see if setting this to true will improve speed any
|
||||
@@ -51,6 +50,13 @@ build_18-1:
|
||||
paths:
|
||||
- .gradle
|
||||
- cache/
|
||||
artifacts:
|
||||
# This should only be done for the last build, otherwise there will be duplicate jars
|
||||
name: "Merged_NightlyBuild-${CI_COMMIT_SHORT_SHA}-${CI_COMMIT_TIMESTAMP}_18-1"
|
||||
paths:
|
||||
# relative to the root directory
|
||||
- Merged
|
||||
expire_in: 1 day
|
||||
|
||||
|
||||
# 1.18.2 build
|
||||
@@ -65,17 +71,9 @@ build_18-2:
|
||||
paths:
|
||||
- .gradle
|
||||
- cache/
|
||||
|
||||
|
||||
# should be done after the builds
|
||||
# creates the archive zip containing all the built jars
|
||||
archive:
|
||||
stage: archive
|
||||
script:
|
||||
- echo 'Builds finished, creating archive.' # The compiler complains if we don't give it a "script" line
|
||||
artifacts:
|
||||
# This should only be done for the last build, otherwise there will be duplicate jars
|
||||
name: "Merged_NightlyBuild-${CI_COMMIT_SHORT_SHA}-${CI_COMMIT_TIMESTAMP}"
|
||||
name: "Merged_NightlyBuild-${CI_COMMIT_SHORT_SHA}-${CI_COMMIT_TIMESTAMP}_18-2"
|
||||
paths:
|
||||
# relative to the root directory
|
||||
- Merged
|
||||
|
||||
Reference in New Issue
Block a user