-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionsince 1.13.0 plugin uses credentials-plugin to manage tokens. All configuration moved to
GitHubPluginConfigwhich can be fetched viaGitHubPlugin.configuration(). You can fetch corresponding config with creds byGitHubPluginConfig.findGithubConfig(Predicate)which returns iterable over authorized nonnullGitHubs matched your predicateworking theory is that this API is not required any more with theSCMEventbased API, if wrong, please raise a JIRA
-
Deprecated FieldsFieldDescriptionUse SHA-256 signatures with X-Hub-Signature-256 header
-
Deprecated MethodsMethodDescriptionsee class javadoc. Now any instance return same GH. Please use new api to fetch anotheruse
GitHubPluginConfig.getConfigs()instead.useGitHubPluginConfig.getHookUrl()insteadUseGitHubPluginConfig.isManageHooks()insteadsimply remove usage of this method, it ignored now. Should be removed after 20 sep 2016.rather treat this field as final and useGitHubPluginConfig.setHookSecretConfigs(java.util.List<org.jenkinsci.plugins.github.config.HookSecretConfig>)overrideGHEventsSubscriber.isApplicable(Item)instead.overrideGHEventsSubscriber.onEvent(GHSubscriberEvent)instead.UseGHWebhookSignature.matches(String, SignatureAlgorithm)for explicit algorithm selectionUseGHWebhookSignature.sha256()for enhanced security
-
Deprecated Constructors
-
Deprecated Enum ConstantsEnum ConstantDescriptionUse SHA256 for enhanced security