Commit 0b423791 authored by Boris Djalal's avatar Boris Djalal

Fix

Signed-off-by: default avatarBoris Djalal <boris.djalal@eurecom.fr>
parent 80d98628
...@@ -166,9 +166,15 @@ stage ("Verify Parameters") { ...@@ -166,9 +166,15 @@ stage ("Verify Parameters") {
if (params.UE_Credentials == null) { if (params.UE_Credentials == null) {
allParametersPresent = false allParametersPresent = false
} }
author = $(git show -s --pretty=%an) author = sh (
script: 'git show -s --pretty=%an',
returnStdout: true
).trim()
echo "The author of the commit is: ${author}" echo "The author of the commit is: ${author}"
email_author = $(git show -s --pretty=%ae) email_author = sh (
script: 'git show -s --pretty=%ae',
returnStdout: true
).trim()
echo "The email of the author is: ${email_author}" echo "The email of the author is: ${email_author}"
echo "allParametersPresent = ${allParametersPresent}" echo "allParametersPresent = ${allParametersPresent}"
echo "begin if 2" echo "begin if 2"
...@@ -350,7 +356,7 @@ Regards, ...@@ -350,7 +356,7 @@ Regards,
OAI CI Team''', OAI CI Team''',
replyTo: 'no-reply@openairinterface.org', replyTo: 'no-reply@openairinterface.org',
subject: '$PROJECT_NAME - Build # $BUILD_NUMBER - $buildStageStatus!', subject: '$PROJECT_NAME - Build # $BUILD_NUMBER - $buildStageStatus!',
to: env.gitlabUserEmail to: email_author
} }
} }
success { success {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment