From a9197ce92119f9477739650f9f219ca25783242f Mon Sep 17 00:00:00 2001 From: apostolof Date: Mon, 8 Feb 2021 23:47:25 +0200 Subject: [PATCH] feat: add system admin email configuration script --- jenkins/configuration/systenAdminEmailAddress.groovy | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 jenkins/configuration/systenAdminEmailAddress.groovy diff --git a/jenkins/configuration/systenAdminEmailAddress.groovy b/jenkins/configuration/systenAdminEmailAddress.groovy new file mode 100644 index 0000000..1bccda7 --- /dev/null +++ b/jenkins/configuration/systenAdminEmailAddress.groovy @@ -0,0 +1,7 @@ +import jenkins.model.JenkinsLocationConfiguration + +def jenkinsLocationConfiguration = JenkinsLocationConfiguration.get() + +jenkinsLocationConfiguration.setAdminAddress("ECEntrics ") + +jenkinsLocationConfiguration.save()