Skip to content
Permalink
Browse files
Set optional flag to GerritTriggerBuildChooser extension.
Git plugin is optional, So any loading error should not be logged.

Fix for JENKINS-22813: Warning when clean install and restart 
https://issues.jenkins-ci.org/browse/JENKINS-22813
  • Loading branch information
rinrinne committed Apr 30, 2014
1 parent b8b6d0c commit ec0dd54750d0e236f88b3b3cbf2d9f1071a1571c
Showing with 1 addition and 1 deletion.
  1. +1 −1 .../java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerBuildChooser.java
@@ -189,7 +189,7 @@ public ObjectId invoke(Repository repository, VirtualChannel virtualChannel)
/**
* Descriptor for GerritTriggerBuildChooser.
*/
@Extension
@Extension(optional = true)
public static final class DescriptorImpl extends BuildChooserDescriptor {
@Override
public String getDisplayName() {

0 comments on commit ec0dd54

Please sign in to comment.