Skip to content

Instantly share code, notes, and snippets.

@cowboyd
Forked from jorgenpt/gist:1364750
Created November 14, 2011 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cowboyd/1364796 to your computer and use it in GitHub Desktop.
Save cowboyd/1364796 to your computer and use it in GitHub Desktop.
# Sets the repository URL based on the given repository.
# Valid uses:
# * uses_repository :github => 'me/my-plugin'
# * uses_repository :github => 'my-plugin' -- Implies hosting under the
# jenkinsci organization.
# * uses_repository :git => 'https://code.google.com/p/my-plugin'
# * uses_repository :svn => 'https://svn.jenkins-ci.org/trunk/hudson/plugins/my-plugin'
def uses_repository(opts)
#impl
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment