Skip to content

Commit d6a6884

Browse files
committed
agent none
Signed-off-by: Olivier Lamy <olamy@apache.org>
1 parent db5b86d commit d6a6884

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

Jenkinsfile

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!groovy
22

33
pipeline {
4-
agent any
4+
agent none
55
options {
66
disableConcurrentBuilds()
77
durabilityHint('PERFORMANCE_OPTIMIZED')
@@ -12,7 +12,7 @@ pipeline {
1212
stage( "Parallel Stage" ) {
1313
parallel {
1414
stage( "Build / Test - JDK11" ) {
15-
agent { node { label 'linux' } }
15+
agent { node { label 'linux-light' } }
1616
options { timeout( time: 120, unit: 'MINUTES' ) }
1717
steps {
1818
mavenBuild( "jdk11", "clean install javadoc:jar" )
@@ -25,12 +25,19 @@ pipeline {
2525
}
2626
}
2727
stage( "Build / Test - JDK17" ) {
28-
agent { node { label 'linux' } }
28+
agent { node { label 'linux-light' } }
2929
options { timeout( time: 120, unit: 'MINUTES' ) }
3030
steps {
3131
mavenBuild( "jdk17", "clean install javadoc:jar" )
3232
}
3333
}
34+
stage( "Build / Test - JDK21" ) {
35+
agent { node { label 'linux-light' } }
36+
options { timeout( time: 120, unit: 'MINUTES' ) }
37+
steps {
38+
mavenBuild( "jdk21", "clean install javadoc:jar" )
39+
}
40+
}
3441
}
3542
}
3643
}

0 commit comments

Comments
 (0)