File tree 1 file changed +0
-20
lines changed
1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,6 @@ variables:
13
13
.common : &common
14
14
tags : [ "runner:main", "size:large" ]
15
15
16
- cache : &default_cache
17
- key : ' $CI_SERVER_VERSION' # Reset the cache every time gitlab is upgraded. ~Every couple months
18
- paths :
19
- - .gradle/wrapper
20
- - .gradle/caches
21
- policy : pull
22
-
23
16
.gradle_build : &gradle_build
24
17
<< : *common
25
18
image : gradle:6.9.0-jdk8
@@ -28,26 +21,13 @@ build: &build
28
21
<< : *gradle_build
29
22
stage : build
30
23
rules :
31
- - if : ' $POPULATE_CACHE'
32
- when : never
33
24
- when : on_success
34
25
script :
35
26
- ./gradlew clean build
36
27
artifacts :
37
28
paths :
38
29
- ' workspace/datadog-lambda-java/build/libs/*.jar'
39
30
40
- build_with_cache :
41
- << : *build
42
- rules :
43
- - if : ' $POPULATE_CACHE'
44
- when : on_success
45
- - when : manual
46
- allow_failure : true
47
- cache :
48
- << : *default_cache
49
- policy : push
50
-
51
31
deploy_to_sonatype :
52
32
<< : *gradle_build
53
33
stage : deploy
You can’t perform that action at this time.
0 commit comments