simpify autobahn build
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
parent
9786bc4c98
commit
8a1130bc41
|
@ -2,41 +2,25 @@
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
// save some io during the build
|
triggers {
|
||||||
options { durabilityHint( 'PERFORMANCE_OPTIMIZED' ) }
|
cron '@daily'
|
||||||
|
}
|
||||||
|
options {
|
||||||
|
buildDiscarder logRotator( numToKeepStr: '50' )
|
||||||
|
// save some io during the build
|
||||||
|
durabilityHint( 'PERFORMANCE_OPTIMIZED' )
|
||||||
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage( "Parallel Stage" ) {
|
stage( "Build / Test - JDK11" ) {
|
||||||
parallel {
|
agent {
|
||||||
stage( "Build / Test - JDK11" ) {
|
node { label 'linux' }
|
||||||
agent {
|
}
|
||||||
node { label 'linux' }
|
steps {
|
||||||
}
|
container( 'jetty-build' ) {
|
||||||
steps {
|
timeout( time: 120, unit: 'MINUTES' ) {
|
||||||
container( 'jetty-build' ) {
|
mavenBuild( "jdk11", "-T3 clean install -Djacoco.skip=true -Pautobahn", "maven3", true ) //
|
||||||
timeout( time: 120, unit: 'MINUTES' ) {
|
junit testResults: '**/target/surefire-reports/*.xml,**/target/invoker-reports/TEST*.xml,**/target/autobahntestsuite-reports/*.xml'
|
||||||
mavenBuild( "jdk11", "-T3 clean install -Pautobahn", "maven3", true ) //
|
|
||||||
// Collect up the jacoco execution results (only on main build)
|
|
||||||
jacoco inclusionPattern: '**/org/eclipse/jetty/**/*.class',
|
|
||||||
exclusionPattern: '' +
|
|
||||||
// build tools
|
|
||||||
'**/org/eclipse/jetty/ant/**' + ',**/org/eclipse/jetty/maven/**' +
|
|
||||||
',**/org/eclipse/jetty/jspc/**' +
|
|
||||||
// example code / documentation
|
|
||||||
',**/org/eclipse/jetty/embedded/**' + ',**/org/eclipse/jetty/asyncrest/**' +
|
|
||||||
',**/org/eclipse/jetty/demo/**' +
|
|
||||||
// special environments / late integrations
|
|
||||||
',**/org/eclipse/jetty/gcloud/**' + ',**/org/eclipse/jetty/infinispan/**' +
|
|
||||||
',**/org/eclipse/jetty/osgi/**' + ',**/org/eclipse/jetty/spring/**' +
|
|
||||||
',**/org/eclipse/jetty/http/spi/**' +
|
|
||||||
// test classes
|
|
||||||
',**/org/eclipse/jetty/tests/**' + ',**/org/eclipse/jetty/test/**',
|
|
||||||
execPattern: '**/target/jacoco.exec',
|
|
||||||
classPattern: '**/target/classes',
|
|
||||||
sourcePattern: '**/src/main/java'
|
|
||||||
warnings consoleParsers: [[parserName: 'Maven'], [parserName: 'Java']]
|
|
||||||
junit testResults: '**/target/surefire-reports/*.xml,**/target/invoker-reports/TEST*.xml,**/target/autobahntestsuite-reports/*.xml'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue