-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
49 lines (42 loc) · 958 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
include: https://gitlab.com/TouchBIT/gitlab-ci/raw/master/common.yml
Buggy:
extends: .build_java_project
variables:
SKIP_TEST: "true"
after_script:
- mv buggy-min-example/target/Buggy.jar MinBuggy.jar
artifacts:
when: always
expire_in: 30 day
paths:
- "*/target/reports"
- "*Buggy.jar"
Sphinx doc:
extends: .build_sphinx_doc
variables:
DOCKERFILE: docs/Dockerfile
JUnit:
extends: .junit_test_run
Sonar review:
extends: .sonar_review
dependencies:
- JUnit
Min Buggy run:
stage: verify
variables:
GIT_STRATEGY: none
dependencies:
- Buggy
tags:
- touchbit-shell
script:
- java -jar MinBuggy.jar --check
- java -jar MinBuggy.jar --force --status 0 --artifacts-url "$CI_PROJECT_URL/-/jobs/$CI_JOB_ID/artifacts/file/"
artifacts:
expire_in: 1 day
paths:
- "*/logs"
Release:
extends: .trigger_release_deploy
Snapshot:
extends: .trigger_snapshot_deploy