diff --git a/Jenkinsfile b/Jenkinsfile
index 719faacc0e..807cf315a3 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,12 +1,6 @@
-properties([buildDiscarder(logRotator(numToKeepStr: '20'))])
-node('maven-11') {
- checkout scm
- timeout(time: 1, unit: 'HOURS') {
- // TODO Azure mirror
- ansiColor('xterm') {
- withEnv(['MAVEN_OPTS=-Djansi.force=true']) {
- sh 'mvn -B -Dstyle.color=always -ntp clean verify'
- }
- }
- }
-}
+// Builds a module using https://github.com/jenkins-infra/pipeline-library
+buildPlugin(useAci: true, configurations: [
+ [ platform: "linux", jdk: "8" ],
+ [ platform: "linux", jdk: "11" ],
+ [ platform: "windows", jdk: "11" ]
+])
diff --git a/pom.xml b/pom.xml
index 08a8981e0b..0d18ac195c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -930,7 +930,10 @@
run
- true
+ true
+ io.jenkins.plugins.pom.its
+
+ true
true
${project.build.directory}/its
${basedir}/target/local-repo
diff --git a/src/it/benchmark/invoker.properties b/src/it/benchmark/invoker.properties
index 06c07a105c..7191089afe 100644
--- a/src/it/benchmark/invoker.properties
+++ b/src/it/benchmark/invoker.properties
@@ -1 +1 @@
-invoker.goals=-P jmh-benchmark -Dstyle.color=always -ntp clean test
+invoker.goals=-P jmh-benchmark -ntp clean test
diff --git a/src/it/beta-fail/invoker.properties b/src/it/beta-fail/invoker.properties
index 2c033519e7..e4a7eade11 100644
--- a/src/it/beta-fail/invoker.properties
+++ b/src/it/beta-fail/invoker.properties
@@ -1,2 +1,2 @@
-invoker.goals=-Dstyle.color=always -ntp clean install
+invoker.goals=-ntp clean install
invoker.buildResult=failure
diff --git a/src/it/beta-just-testing/invoker.properties b/src/it/beta-just-testing/invoker.properties
index de21ce6dfe..a5788e324f 100644
--- a/src/it/beta-just-testing/invoker.properties
+++ b/src/it/beta-just-testing/invoker.properties
@@ -1 +1 @@
-invoker.goals=-Dstyle.color=always -ntp clean install
+invoker.goals=-ntp clean install
diff --git a/src/it/beta-pass/invoker.properties b/src/it/beta-pass/invoker.properties
index de21ce6dfe..7607472b14 100644
--- a/src/it/beta-pass/invoker.properties
+++ b/src/it/beta-pass/invoker.properties
@@ -1 +1 @@
-invoker.goals=-Dstyle.color=always -ntp clean install
+invoker.goals= -ntp clean install
diff --git a/src/it/incrementals-and-plugin-bom/invoker.properties b/src/it/incrementals-and-plugin-bom/invoker.properties
index c7b8c3b82f..ac9a280c15 100644
--- a/src/it/incrementals-and-plugin-bom/invoker.properties
+++ b/src/it/incrementals-and-plugin-bom/invoker.properties
@@ -1,3 +1,3 @@
-invoker.goals.1=-Dstyle.color=always -ntp clean install
+invoker.goals.1= -ntp clean install
# real extension will not work here due to its not being at the root of a repository, so fake it:
-invoker.goals.2=-Dstyle.color=always -ntp -Dset.changelist -Dchangelist=-rc1234.deadbeef5678 clean install
+invoker.goals.2= -ntp -Dset.changelist -Dchangelist=-rc1234.deadbeef5678 clean install
diff --git a/src/it/localizer/invoker.properties b/src/it/localizer/invoker.properties
index 66f78f2f48..906e598a25 100644
--- a/src/it/localizer/invoker.properties
+++ b/src/it/localizer/invoker.properties
@@ -1,2 +1,2 @@
# release.skipTests normally set in jenkins-release profile since release:perform would do the tests
-invoker.goals=-Dstyle.color=always -ntp -Pjenkins-release -Drelease.skipTests=false clean verify
+invoker.goals= -ntp -Pjenkins-release -Drelease.skipTests=false clean verify
diff --git a/src/it/sample-plugin/invoker.properties b/src/it/sample-plugin/invoker.properties
index ccb70fca53..f8b5d8da11 100644
--- a/src/it/sample-plugin/invoker.properties
+++ b/src/it/sample-plugin/invoker.properties
@@ -1,3 +1,3 @@
# install, not verify, because we want to check the artifact as we would be about to deploy it
# release.skipTests normally set in jenkins-release profile since release:perform would do the tests
-invoker.goals=-Dstyle.color=always -ntp -Pjenkins-release -Drelease.skipTests=false clean install
+invoker.goals= -ntp -Pjenkins-release -Drelease.skipTests=false clean install
diff --git a/src/it/settings.xml b/src/it/settings.xml
index 93d6aeae68..674d4658a3 100644
--- a/src/it/settings.xml
+++ b/src/it/settings.xml
@@ -36,6 +36,9 @@ under the License.
true
+
+ true
+
local.central
diff --git a/src/it/undefined-java-level/invoker.properties b/src/it/undefined-java-level/invoker.properties
index 2c033519e7..36ef3f7e16 100644
--- a/src/it/undefined-java-level/invoker.properties
+++ b/src/it/undefined-java-level/invoker.properties
@@ -1,2 +1,2 @@
-invoker.goals=-Dstyle.color=always -ntp clean install
+invoker.goals= -ntp clean install
invoker.buildResult=failure