mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Add .pluginspec sample
This commit is contained in:
		
							
								
								
									
										27
									
								
								samples/Ruby/jenkinsci.pluginspec
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								samples/Ruby/jenkinsci.pluginspec
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| Jenkins::Plugin::Specification.new do |plugin| | ||||
|   plugin.name = "foo" | ||||
|   plugin.display_name = "Foo Plugin" | ||||
|   plugin.version = '0.0.1' | ||||
|   plugin.description = 'TODO: enter description here' | ||||
|  | ||||
|   # You should create a wiki-page for your plugin when you publish it, see | ||||
|   # https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins#HostingPlugins-AddingaWikipage | ||||
|   # This line makes sure it's listed in your POM. | ||||
|   plugin.url = 'https://wiki.jenkins-ci.org/display/JENKINS/Foo+Plugin' | ||||
|  | ||||
|   # The first argument is your user name for jenkins-ci.org. | ||||
|   plugin.developed_by "david.calavera", "David Calavera <david.calavera@gmail.com>" | ||||
|  | ||||
|   # This specifies where your code is hosted. | ||||
|   # Alternatives include: | ||||
|   #  :github => 'myuser/foo-plugin' (without myuser it defaults to jenkinsci) | ||||
|   #  :git => 'git://repo.or.cz/foo-plugin.git' | ||||
|   #  :svn => 'https://svn.jenkins-ci.org/trunk/hudson/plugins/foo-plugin' | ||||
|   plugin.uses_repository :github => "foo-plugin" | ||||
|  | ||||
|   # This is a required dependency for every ruby plugin. | ||||
|   plugin.depends_on 'ruby-runtime', '0.10' | ||||
|  | ||||
|   # This is a sample dependency for a Jenkins plugin, 'git'. | ||||
|   #plugin.depends_on 'git', '1.1.11' | ||||
| end | ||||
		Reference in New Issue
	
	Block a user