Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,11 @@ public static Collection<GitHubRepositoryName> parseAssociatedNames(Job<?, ?> jo

public static Collection<GitHubRepositoryName> parseAssociatedNames(Item item) {
Set<GitHubRepositoryName> names = new HashSet<GitHubRepositoryName>();
LOGGER.debug("names before: " + names.toString());
for (GitHubRepositoryNameContributor c : all()) {
c.parseAssociatedNames(item, names);
}
LOGGER.debug("names after: " + names.toString());
return names;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
*/
@Extension
@SuppressWarnings("unused")

public class DefaultPushGHEventSubscriber extends GHEventsSubscriber {
private static final Logger LOGGER = LoggerFactory.getLogger(DefaultPushGHEventSubscriber.class);

Expand Down Expand Up @@ -92,7 +93,7 @@ protected void onEvent(final GHSubscriberEvent event) {
}

final GitHubRepositoryName changedRepository = fromEventRepository;

LOGGER.info("changedRepository: " + changedRepository.toString());
if (changedRepository != null) {
// run in high privilege to see all the projects anonymous users don't see.
// this is safe because when we actually schedule a build, it's a build that can
Expand All @@ -117,6 +118,7 @@ public void run() {
} else {
LOGGER.debug("Skipped {} because it doesn't have a matching repository.",
fullDisplayName);
LOGGER.debug(GitHubRepositoryNameContributor.parseAssociatedNames(job).toString());
}
}
}
Expand Down