Class GitMetadataBuilderCallback

    • Constructor Detail

      • GitMetadataBuilderCallback

        public GitMetadataBuilderCallback​(@Nullable
                                          String branchHint,
                                          boolean examineRepoRefs)
    • Method Detail

      • invoke

        public GitMetadataBuilderCallback.Result invoke​(org.eclipse.jgit.lib.Repository repository,
                                                        hudson.remoting.VirtualChannel channel)
        !IMPORTANT! Keep in mind that this callback may be executed on a worker node, which means both the callback and the result are serialized and sent between different hosts. Avoid using anything that is not serializable
        Specified by:
        invoke in interface org.jenkinsci.plugins.gitclient.RepositoryCallback<GitMetadataBuilderCallback.Result>