This commit is contained in:
+6
-25
@@ -10,18 +10,6 @@ clone:
|
|||||||
skip_verify: true
|
skip_verify: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: restore-cache
|
|
||||||
privileged: true
|
|
||||||
pull: always
|
|
||||||
image: 2martens/drone-volume-cache
|
|
||||||
settings:
|
|
||||||
restore: true
|
|
||||||
mount:
|
|
||||||
- ./gradle
|
|
||||||
- ./.idea
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /cache
|
|
||||||
- name: run code analysis
|
- name: run code analysis
|
||||||
pull: always
|
pull: always
|
||||||
image: 2martens/qodana-jvm-community-drone-plugin:2023.2
|
image: 2martens/qodana-jvm-community-drone-plugin:2023.2
|
||||||
@@ -29,21 +17,14 @@ steps:
|
|||||||
qodana_token:
|
qodana_token:
|
||||||
from_secret: qodana_token
|
from_secret: qodana_token
|
||||||
args: --baseline qodana.sarif.json --fail-threshold 0
|
args: --baseline qodana.sarif.json --fail-threshold 0
|
||||||
- name: rebuild-cache
|
|
||||||
privileged: true
|
|
||||||
image: 2martens/drone-volume-cache
|
|
||||||
settings:
|
|
||||||
rebuild: true
|
|
||||||
mount:
|
|
||||||
- ./gradle
|
|
||||||
- ./idea
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /cache
|
path: /data/cache
|
||||||
when:
|
|
||||||
status:
|
volumes:
|
||||||
- failure
|
- name: cache
|
||||||
- success
|
host:
|
||||||
|
path: /var/lib/drone/cache
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
|||||||
Reference in New Issue
Block a user