Skip to content

Commit

Permalink
use linux-light
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Lamy <[email protected]>
  • Loading branch information
olamy committed Feb 23, 2025
1 parent 6f57faa commit 12c003b
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,18 @@ pipeline {
stage( "Parallel Stage" ) {
parallel {
stage( "Build / Test - JDK11" ) {
agent { node { label 'linux' } }
agent { node { label 'linux-light' } }
options { timeout( time: 120, unit: 'MINUTES' ) }
steps {
checkout scm
mavenBuild( "jdk8", "clean install javadoc:jar" )
// Collect up the jacoco execution results
jacoco inclusionPattern: '**/org/eclipse/jetty/**/*.class',
exclusionPattern: '',
execPattern: '**/target/jacoco.exec',
classPattern: '**/target/classes',
sourcePattern: '**/src/main/java'
recordIssues id: "jdk11", name: "Static Analysis jdk8", aggregatingResults: true, enabledForFailure: true, tools: [mavenConsole(), java(), checkStyle(), spotBugs(), pmdParser(), errorProne()]
recordCoverage name: "Coverage", id: "coverage", tools: [[parser: 'JACOCO']], sourceCodeRetention: 'MODIFIED',
sourceDirectories: [[path: 'src/main/java']]
recordIssues id: "jdk11", name: "Static Analysis jdk8", aggregatingResults: true, enabledForFailure: true,
tools: [mavenConsole(), java(), checkStyle(), spotBugs(), pmdParser(), errorProne()]
script {

if ( env.BRANCH_NAME == 'master' )
{
mavenBuild( "jdk8", "deploy" )
Expand All @@ -34,15 +33,15 @@ pipeline {
}
}
stage( "Build / Test - JDK17" ) {
agent { node { label 'linux' } }
agent { node { label 'linux-light' } }
options { timeout( time: 120, unit: 'MINUTES' ) }
steps {
checkout scm
mavenBuild( "jdk17", "clean install javadoc:jar" )
}
}
stage( "Build / Test - JDK21" ) {
agent { node { label 'linux' } }
agent { node { label 'linux-light' } }
options { timeout( time: 120, unit: 'MINUTES' ) }
steps {
checkout scm
Expand Down

0 comments on commit 12c003b

Please sign in to comment.