Groovy web console

subscribe to the feed Subscribe
to this
site

JenkinsRejected

Published 3 weeks ago by Xnyle
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def giturl = 'https://my.url/my-team/my-git.git'
def githost = giturl.split('://').getAt(1).split('/').getAt(0)
println githost