forked from Stratio/cassandra-lucene-index
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJenkinsfile
56 lines (48 loc) · 1.36 KB
/
Jenkinsfile
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
@Library('libpipelines@master') _
hose {
EMAIL = 'cassandra'
MODULE = 'cassandra-lucene-index'
DEVTIMEOUT = 50
RELEASETIMEOUT = 30
FOSS = true
REPOSITORY = 'cassandra-lucene-index'
LANG = 'java'
PKGMODULES = ['plugin']
PKGMODULESNAMES = ['stratio-cassandra-lucene-index']
DEBARCH = 'all'
RPMARCH = 'noarch'
EXPOSED_PORTS = [9042, 7199, 8000]
PARALLELIZE_AT = true
ATSERVICES = [
['CASSANDRA': [
'image': 'stratio/cassandra-lucene-index:%%VERSION',
'volumes':[
'jts:1.14.0'],
'env': [
'MAX_HEAP=256M',
'START_JOLOKIA=true',
'JOLOKIA_OPTS="port=8000,host=$(hostname --ip)"'],
'sleep': 10]],
]
ATPARAMETERS = """
| -Dit.host=%%CASSANDRA
| -Dit.monitor_service=jolokia
| -Dit.monitor_services_url=%%CASSANDRA:8000
| -DJACOCO_SERVER=%%CASSANDRA
| -Dit-embedded=false"""
DEV = { config ->
doCompile(config)
doUT(config)
doPackage(config)
parallel(DOC: {
doDoc(config)
}, QC: {
doStaticAnalysis(config)
}, DEPLOY: {
doDeploy(config)
}, DOCKER : {
doDocker(config)
}, failFast: config.FAILFAST)
doAT(config)
}
}