forked from noi-techpark/bdp-commons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile-CI
125 lines (124 loc) · 4.91 KB
/
Jenkinsfile-CI
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
pipeline {
agent {
dockerfile {
filename 'docker/dockerfile-java'
additionalBuildArgs '--build-arg JENKINS_USER_ID=`id -u jenkins` --build-arg JENKINS_GROUP_ID=`id -g jenkins`'
}
}
stages {
stage('Test data collectors and web services') {
stages {
stage('bdp-api') {
steps {
sh 'cd webservices/bdp-api/ && mvn -B -U clean compile test'
}
}
stage('airquality-appabz') {
steps {
sh 'cd data-collectors/airquality-appabz && mvn -B -U clean compile test'
}
}
stage('bikesharing-moqo') {
steps {
sh 'cd data-collectors/bikesharing-moqo && mvn -B -U clean compile test'
}
}
stage('bikesharing-bz') {
steps {
sh 'cd data-collectors/bikesharing-bz && mvn -B -U clean compile test'
}
}
stage('carpooling-flootta'){
steps {
sh 'cd data-collectors/carpooling-flootta && mvn -B -U clean compile test'
}
}
stage('carsharing-halapi') {
steps {
sh 'cd data-collectors/carsharing-halapi && mvn -B -U clean compile test'
}
}
stage('emobility-echarging') {
steps {
sh 'cd data-collectors/emobility-echarging && mvn -B -U clean compile test'
}
}
stage('emobility-hydrogen') {
steps {
sh 'cd data-collectors/emobility-hydrogen && mvn -B -U clean compile test'
}
}
stage('environment-a22-algorab'){
steps{
sh 'cd data-collectors/environment-a22 && mvn -B -U clean compile test'
}
}
stage('environment-appa-tenminutes') {
steps {
sh 'cd data-collectors/environment-appa/appatn_tenminutes && mvn -B -U clean compile'
}
}
stage('environment-appa-opendata') {
steps {
sh 'cd data-collectors/environment-appa/appatn_opendata && mvn -B -U clean compile'
}
}
stage('environment-appa-bz') {
steps {
sh 'cd data-collectors/environment-appa/appabz_opendata && mvn -B -U clean compile'
}
}
stage('meteorology-bz') {
steps {
sh 'cd data-collectors/meteorology-bz/ && mvn -B -U clean compile test'
}
}
stage('meteorology-provincetrento') {
steps {
sh 'cd data-collectors/meteo-tn/ && mvn -B -U clean compile test'
}
}
stage('parking-MeBo') {
steps {
sh 'cd data-collectors/parking-MeBo && mvn -B -U clean compile test'
}
}
stage('parking-tn') {
steps {
sh 'test -d data-collectors/parking-tn && { cd data-collectors/parking-tn; mvn -B -U clean compile test; } || true'
}
}
stage('traffic-a22') {
steps {
sh 'cd data-collectors/traffic-a22/a22elaborations/ && mvn -B -U clean compile test'
}
}
stage('vehicletraffic-bluetooth'){
steps {
sh 'cd data-collectors/vehicletraffic-bluetooth && mvn -B -U clean compile test'
}
}
stage('traffic-bz') {
steps {
sh 'cd data-collectors/traffic-bz/ && mvn -B -U clean compile test'
}
}
stage('vms-a22') {
steps {
sh 'cd data-collectors/vms-a22/ && mvn -B -U clean compile test'
}
}
stage('roadweather-a22') {
steps {
sh 'cd data-collectors/roadweather-a22/ && mvn -B -U clean compile test'
}
}
stage('traveltimes-a22') {
steps {
sh 'cd data-collectors/traveltimes-a22/ && mvn -B -U clean compile test'
}
}
}
}
}
}