Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Commit

Permalink
[QA-228] new jenkinsfile (#241)
Browse files Browse the repository at this point in the history
* [QA-228] new jenkinsfile

* including AT services and parameters

* missing comma

* Delete .jenkins.yml
  • Loading branch information
witokondoria authored and edu committed Nov 23, 2016
1 parent 88c692f commit c328342
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .jenkins.yml

This file was deleted.

56 changes: 56 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
@Library('libpipelines@feature/multibranch') _

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)
}
}

0 comments on commit c328342

Please sign in to comment.