diff --git a/Jenkinsfile b/Jenkinsfile
index bd079e3d..3726ea3b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,4 +1,5 @@
-buildPlugin(configurations: [
- [platform: 'linux', jdk: '11'],
- [platform: 'windows', jdk: '11'],
- ])
+buildPlugin(useContainerAgent: true, configurations: [
+[platform: 'linux', jdk: '11'],
+[platform: 'windows', jdk: '11'],
+[platform: 'linux', jdk: '17', jenkins: '2.342'],
+])
diff --git a/pom.xml b/pom.xml
index ae225415..7301cfa0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
org.jenkins-ci.plugins
plugin
- 4.39
+ 4.40
@@ -67,7 +67,6 @@
999999-SNAPSHOT
2.1
2.319.3
- 8
false