Remove stages from steps

Stages for steps should be defined in pipelines

Change-Id: I0b5e9162deaf3d147329a882d3716f80668d6c86
diff --git a/vars/gerritPatchsetCheckout.groovy b/vars/gerritPatchsetCheckout.groovy
index aa2d2fe..a3fd1f5 100644
--- a/vars/gerritPatchsetCheckout.groovy
+++ b/vars/gerritPatchsetCheckout.groovy
@@ -23,19 +23,17 @@
     scmExtensions.add([$class: 'WipeWorkspace'])
   }
 
-  stage("Gerrit Patchset Checkout") {
-    checkout(
-      scm: [
-        $class: 'GitSCM',
-        branches: [[name: "${GERRIT_BRANCH}"]],
-        extensions: scmExtensions,
-        userRemoteConfigs: [[
-          credentialsId: "${config.credentialsId}",
-          name: 'gerrit',
-          url: "ssh://${GERRIT_NAME}@${GERRIT_HOST}:${GERRIT_PORT}/${GERRIT_PROJECT}.git",
-          refspec: "${GERRIT_REFSPEC}"
-        ]]
-      ]
-    )
-  }
+  checkout(
+    scm: [
+      $class: 'GitSCM',
+      branches: [[name: "${GERRIT_BRANCH}"]],
+      extensions: scmExtensions,
+      userRemoteConfigs: [[
+        credentialsId: "${config.credentialsId}",
+        name: 'gerrit',
+        url: "ssh://${GERRIT_NAME}@${GERRIT_HOST}:${GERRIT_PORT}/${GERRIT_PROJECT}.git",
+        refspec: "${GERRIT_REFSPEC}"
+      ]]
+    ]
+  )
 }
diff --git a/vars/gitSSHCheckout.groovy b/vars/gitSSHCheckout.groovy
index 6f52d9b..0bb696f 100644
--- a/vars/gitSSHCheckout.groovy
+++ b/vars/gitSSHCheckout.groovy
@@ -8,21 +8,19 @@
   def targetDir = config.targetDir ?: "./"
   def port = config.port ?: "29418"
 
-  stage("Git Checkout"){
-    checkout(
-      scm: [
-        $class: 'GitSCM',
-        branches: [[name: "${config.branch}"]],
-        extensions: [
-          [$class: 'CleanCheckout'],
-          [$class: 'RelativeTargetDirectory', relativeTargetDir: "${targetDir}"]
-        ],
-        userRemoteConfigs: [[
-          credentialsId: "${config.credentialsId}",
-          name: 'origin',
-          url: "ssh://${config.credentialsId}@${config.host}:${port}/${config.project}.git"
-        ]]
-      ]
-    )
-  }
+  checkout(
+    scm: [
+      $class: 'GitSCM',
+      branches: [[name: "${config.branch}"]],
+      extensions: [
+        [$class: 'CleanCheckout'],
+        [$class: 'RelativeTargetDirectory', relativeTargetDir: "${targetDir}"]
+      ],
+      userRemoteConfigs: [[
+        credentialsId: "${config.credentialsId}",
+        name: 'origin',
+        url: "ssh://${config.credentialsId}@${config.host}:${port}/${config.project}.git"
+      ]]
+    ]
+  )
 }