Browse Source

feat: add system admin email configuration script

master
Apostolos Fanakis 4 years ago
parent
commit
a9197ce921
  1. 7
      jenkins/configuration/systenAdminEmailAddress.groovy

7
jenkins/configuration/systenAdminEmailAddress.groovy

@ -0,0 +1,7 @@
import jenkins.model.JenkinsLocationConfiguration
def jenkinsLocationConfiguration = JenkinsLocationConfiguration.get()
jenkinsLocationConfiguration.setAdminAddress("ECEntrics <ecentricsgr@gmail.com>")
jenkinsLocationConfiguration.save()
Loading…
Cancel
Save