Skip to content

Commit

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

* included crossbuild elements
  • Loading branch information
witokondoria authored and aalfonso-stratio committed Nov 22, 2016
1 parent ce4ccd3 commit 437ad62
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
@Library('libpipelines@feature/multibranch') _

hose {
EMAIL = 'qa'
MODULE = 'common-utils'
DEVTIMEOUT = 30
RELEASETIMEOUT = 30
FOSS = true
REPOSITORY = 'common-utils'

CROSSBUILD = ['scala-2.11']

DEV = { config ->

doCompile(conf: config, crossbuild: config.CROSSBUILD[0])
doUT(conf: config, crossbuild: config.CROSSBUILD[0])
doPackage(conf: config, crossbuild: config.CROSSBUILD[0])

parallel(DOC: {
doDoc(conf: config, crossbuild: config.CROSSBUILD[0])
}, QC: {
doStaticAnalysis(conf: config, crossbuild: config.CROSSBUILD[0])
}, DEPLOY: {
doDeploy(conf: config, crossbuild: config.CROSSBUILD[0])
}, failFast: config.FAILFAST)

}
}

0 comments on commit 437ad62

Please sign in to comment.