From 33fc99134cf9441f64c8ad17eadc55b88e3fcee8 Mon Sep 17 00:00:00 2001
From: Dibyendu Jana <34668540+d-jana@users.noreply.github.com>
Date: Thu, 27 Feb 2020 17:00:21 +0100
Subject: [PATCH] Add new groovy files for 3 cloud native CIs and Babylon empty-config CI (#1004)

---
 tests/jenkins/openshift-operators-lab.groovy |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/tests/jenkins/openshift-operators-lab.groovy b/tests/jenkins/openshift-operators-lab.groovy
index 8dc39b7..ee7cb38 100644
--- a/tests/jenkins/openshift-operators-lab.groovy
+++ b/tests/jenkins/openshift-operators-lab.groovy
@@ -8,7 +8,7 @@
 def imap_creds = 'd8762f05-ca66-4364-adf2-bc3ce1dca16c'
 def imap_server = 'imap.gmail.com'
 // Notifications
-def notification_email = 'gucore@redhat.com'
+def notification_email = 'gpteinfrasev3@redhat.com'
 def rocketchat_hook = '5d28935e-f7ca-4b11-8b8e-d7a7161a013a'
 
 // SSH key
@@ -19,7 +19,7 @@
 
 // state variables
 def guid=''
-def ssh_location = ''
+def openshift_location = ''
 
 
 // Catalog items
@@ -155,9 +155,9 @@
                     ).trim()
 
                     try {
-                    	def m = email =~ /<pre>. *ssh -i [^ ]+ *([^ <]+?) *<\/pre>/
-                    	ssh_location = m[0][1]
-                    	echo "ssh_location = '${ssh_location}'"
+                    	def m = email =~ /Openshift Master Console: (.*)/
+                    	openshift_location = m[0][1]
+                    	echo "openshift_location = '${openshift_location}'"
                     } catch(Exception ex) {
                         echo "Could not parse email:"
                         echo email
@@ -169,6 +169,7 @@
             }
         }
 
+		/* Skipping it as of now
         stage('SSH') {
             steps {
                 withCredentials([
@@ -181,7 +182,7 @@
                     sh "ssh -o StrictHostKeyChecking=no -i ${ssh_key} ${ssh_location} oc version"
                 }
             }
-        }
+        } */
 
         stage('Confirm before retiring') {
             when {

--
Gitblit v1.9.3