Skip to content
Browse files

Don't write url to manifest unless there is one.

This fixes GH-11.
  • Loading branch information...
1 parent 8ebb8d9 commit 37c63ba7f7a45c718a3c175fddb8a23dfa1e4950 @jorgenpt jorgenpt committed Nov 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/jenkins/plugin/tools/manifest.rb
View
2 lib/jenkins/plugin/tools/manifest.rb
@@ -24,7 +24,7 @@ def write_hpi(io)
w.put "Group-Id", "org.jenkins-ci.plugins"
w.put "Short-Name", @spec.name
w.put "Long-Name", @spec.display_name
- w.put "Url", @spec.url
+ w.put "Url", @spec.url if @spec.url
w.put "Plugin-Class", "ruby.RubyPlugin"
w.put "Plugin-Version", @spec.version

0 comments on commit 37c63ba

Please sign in to comment.
Something went wrong with that request. Please try again.