Add GPG key. Try to find username that kicked off the build

Change-Id: I8a5cec9e9221e6dde2a5d5177601fccb7f71e8ef
diff --git a/Jenkinsfile.release b/Jenkinsfile.release
index 76e5d56..f72ce1e 100644
--- a/Jenkinsfile.release
+++ b/Jenkinsfile.release
@@ -25,14 +25,18 @@
 
 node ('ubuntu16.04-basebuild-1c-2g') {
 
-    stage ('Configure Git') {
+    stage ('Configure system') {
         sh 'ssh-keyscan -H -t rsa -p 29418 gerrit.opencord.org >> ~/.ssh/known_hosts'
         
         sh 'git config --global user.name "Jenkins"'
         sh 'git config --global user.email "do-not-reply@opencord.org"'
+        
+        withCredentials([file(credentialsId: 'gpg-creds-maven', variable: 'GPUPG')]) {
+            sh 'tar -xvf $GPUPG -C ~'
+        }
     }
 
-    stage ('Checkout code') {
+    stage ('Check out code') {
         cleanWs()
         
         sshagent (credentials: ['gerrit-jenkins-user']) {
@@ -46,9 +50,10 @@
         changeVersion(version)
         sh 'git add -A && git commit -m "Release version ' + version + '"'
     }
-
+    
     stage ('Verify code') {
         def found = sh script:'egrep -R SNAPSHOT .', returnStatus:true
+        
         if (found == 0) {
             timeout(time: 1, unit: 'HOURS') {
                 metadata = input id: 'manual-verify', 
@@ -73,10 +78,13 @@
     }
     
     stage ('Wait for merge') {
-        timeout(time: 1, unit: 'HOURS') {
-            metadata = input id: 'release-build', 
-            message: 'Go to Gerrit and merge the release patch',
-                    submitter: 'jono,dbainbri'
+        wrap([$class: 'BuildUser']) {
+            echo env.BUILD_USER_ID
+            timeout(time: 1, unit: 'HOURS') {
+                metadata = input id: 'release-build', 
+                message: 'Go to Gerrit and merge the release patch',
+                        submitter: env.BUILD_USER_ID
+            }
         }
     }
 
@@ -115,3 +123,4 @@
     }
     
 }
+