Merge branch 'stable-3.5' into stable-3.6

* stable-3.5:
  Move to the standard Gerrit plugins verifier

Change-Id: I8e426b40b0a432e469db79e2691c51eeedc1c3c8
diff --git a/Jenkinsfile b/Jenkinsfile
index deb1d46..1b1137b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,31 +1,2 @@
-pipeline {
-    agent { label 'bazel-debian' }
-    stages {
-        stage('GJF') {
-            steps {
-                sh 'mvn process-sources'
-                script {
-                    def formatOut = sh (script: 'git status --porcelain', returnStdout: true)
-                    if (formatOut.trim()) {
-                        def files = formatOut.split('\n').collect { it.split(' ').last() }
-                        files.each { gerritComment path:it, message: 'Needs reformatting with GJF' }
-                        gerritReview labels: [Formatting: -1]
-                    } else {
-                        gerritReview labels: [Formatting: 1]
-                    }
-                }
-            }
-        }
-        stage('build') {
-            steps {
-                gerritReview labels: [Verified: 0], message: "Build started: ${env.BUILD_URL}"
-                sh "bash -c '. set-java.sh 11 && mvn test'"
-            }
-        }
-    }
-    post {
-        success { gerritReview labels: [Verified: 1] }
-        unstable { gerritReview labels: [Verified: 0], message: "Build is unstable: ${env.BUILD_URL}" }
-        failure { gerritReview labels: [Verified: -1], message: "Build failed: ${env.BUILD_URL}" }
-    }
-}
+pluginPipeline(formatCheckId: 'gerritforge:global-refdb-format-59a34d6c50367a468c810e28d733855abc059f13',
+               buildCheckId: 'gerritforge:global-refdb-59a34d6c50367a468c810e28d733855abc059f13')