-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
66 lines (66 loc) · 1.78 KB
/
.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"build": {
"artifacts": {
"expire_in": "4 weeks",
"name": "reports",
"paths": [
"core/target/surefire-reports/",
"mw/OCTOPUS/core/target/surefire-reports/",
"mw/OCTOPUS/ext-beans/target/surefire-reports/",
"mw/tarentcommons/target/surefire-reports/",
"shared/target/surefire-reports/",
"vwor/target/surefire-reports/",
"systemtest/target/failsafe-reports",
"systemtest/target/geb-reports"
],
"when": "on_failure"
},
"only": [
"master@veraweb-int/veraweb"
],
"script": [
"xvfb-run mvn -B -Psystemtest clean verify"
],
"stage": "build",
"tags": [
"veraweb"
]
},
"stages": [
"test",
"build"
],
"test": {
"artifacts": {
"expire_in": "4 weeks",
"name": "reports",
"paths": [
"core/target/surefire-reports/",
"mw/OCTOPUS/core/target/surefire-reports/",
"mw/OCTOPUS/ext-beans/target/surefire-reports/",
"mw/tarentcommons/target/surefire-reports/",
"shared/target/surefire-reports/",
"vwor/target/surefire-reports/",
"systemtest/target/failsafe-reports",
"systemtest/target/geb-reports"
],
"when": "on_failure"
},
"except": [
"master@veraweb-int/veraweb"
],
"only": [
"branches"
],
"script": [
"xvfb-run mvn -B -Psystemtest -Dsonar.host.url=https://ci-busyapps.lan.tarent.de/sonar/ -Dsonar.analysis.mode=preview -Dsonar.gitlab.project_id=$CI_PROJECT_PATH -Dsonar.gitlab.commit_sha=$CI_BUILD_REF -Dsonar.gitlab.ref_name=$CI_BUILD_REF_NAME clean verify sonar:sonar"
],
"stage": "test",
"tags": [
"veraweb"
]
},
"variables": {
"MAVEN_OPTS": "-Xmx2048m -XX:+UseG1GC -XX:+UseCompressedOops"
}
}