Revert "Fix extra parameter name for test-cookiecutter/reclass-system jobs"

This reverts commit e3766cce1df5dd843625c247f7f7fb716c4b42e9.

Change-Id: I9047dd2457d041d038b3e1339266d287c7768173
diff --git a/gating-pipeline.groovy b/gating-pipeline.groovy
index c4376e8..99f487d 100644
--- a/gating-pipeline.groovy
+++ b/gating-pipeline.groovy
@@ -47,23 +47,10 @@
                         if (isJobExists(testJob)) {
                             common.infoMsg("Test job ${testJob} found, running")
                             def patchsetVerified = gerrit.patchsetHasApproval(gerritChange.currentPatchSet, "Verified", "+")
-                            // temp workaround, will be removed after full switch
-                            if (gerritProject == "cookiecutter-templates" || gerritProject == "reclass-system") {
-                                def gerritVars = '\n---'
-                                for (envVar in env.getEnvironment()) {
-                                    if (envVar.key.startsWith("GERRIT_")) {
-                                        gerritVars += "\n${envVar}"
-                                    }
-                                }
-                                build job: testJob, parameters: [
-                                    [$class: 'TextParameterValue', name: 'EXTRA_VARIABLES_YAML', value: gerritVars ]
-                                ]
-                            } else {
-                                build job: testJob, parameters: [
-                                    [$class: 'StringParameterValue', name: 'DEFAULT_GIT_URL', value: "${GERRIT_SCHEME}://${GERRIT_NAME}@${GERRIT_HOST}:${GERRIT_PORT}/${GERRIT_PROJECT}"],
-                                    [$class: 'StringParameterValue', name: 'DEFAULT_GIT_REF', value: GERRIT_REFSPEC]
-                                ]
-                            }
+                            build job: testJob, parameters: [
+                                [$class: 'StringParameterValue', name: 'DEFAULT_GIT_URL', value: "${GERRIT_SCHEME}://${GERRIT_NAME}@${GERRIT_HOST}:${GERRIT_PORT}/${GERRIT_PROJECT}"],
+                                [$class: 'StringParameterValue', name: 'DEFAULT_GIT_REF', value: GERRIT_REFSPEC]
+                            ]
                             giveVerify = true
                         } else {
                             common.infoMsg("Test job ${testJob} not found")