Skip to content

Commit

Permalink
Set optional flag to GerritTriggerBuildChooser extension.
Browse files Browse the repository at this point in the history
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 ec0dd54
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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() {
Expand Down

0 comments on commit ec0dd54

Please sign in to comment.