Skip to content

Instantly share code, notes, and snippets.

View gaoguoxin's full-sized avatar

gaoguoxin gaoguoxin

View GitHub Profile
@gaoguoxin
gaoguoxin / jenkins-set-url-and-email.groovy
Created January 30, 2019 09:09 — forked from ivan-pinatti/jenkins-set-url-and-email.groovy
Jenkins - Set URL and email via groovy script - #jenkins #groovy
#!groovy
// imports
import jenkins.model.Jenkins
import jenkins.model.JenkinsLocationConfiguration
// parameters
def jenkinsParameters = [
email: 'Jenkins Admin <admin@jenkins.com>',
url: 'https://ci.jenkins.com:8083/'
###*
* jQuery pluginName plugin v0.1
* ==========================
* see http://docs.jquery.com/Plugins/Authoring
*
* plugin description goes here
* author your.name@email.com
###
(($) ->