Skip to content

Instantly share code, notes, and snippets.

@jorgenpt
Created November 14, 2011 18:52
Show Gist options
  • Save jorgenpt/1364750 to your computer and use it in GitHub Desktop.
Save jorgenpt/1364750 to your computer and use it in GitHub Desktop.
# Sets the repository URL based on the given repository.
# Valid uses:
# * use_repository(:github => 'me/my-plugin')
# * use_repository(:github => 'my-plugin') -- Implies hosting under the
# jenkinsci organization.
# * use_repository(:git => 'https://code.google.com/p/my-plugin')
# * use_repository(:svn => 'https://svn.jenkins-ci.org/trunk/hudson/plugins/my-plugin')
def use_repository(opts)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment