Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve logging from branch indexing #40

Merged
merged 1 commit into from
May 11, 2016
Merged

Conversation

jglick
Copy link
Member

@jglick jglick commented May 10, 2016

jenkinsci/github-branch-source-plugin#53 turned up nothing surprising, so checking why branch indexing is failing to schedule a branch build.

@reviewbybees

…ich changes and whether or not builds were scheduled as a result.
@@ -310,17 +310,23 @@ public void observe(@NonNull SCMHead head, @NonNull SCMRevision revision) {
if (revision.isDeterministic()) {
SCMRevision lastBuild = _factory.getRevision(project);
if (!revision.equals(lastBuild)) {
listener.getLogger().println("Changes detected in " + rawName + " (" + lastBuild + " → " + revision + ")");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jenkinsci/git-plugin#400 makes this meaningful.

@ghost
Copy link

ghost commented May 10, 2016

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

@amuniz
Copy link
Member

amuniz commented May 11, 2016

🐝

@recena
Copy link
Collaborator

recena commented May 11, 2016

🐝

@jglick jglick merged commit 063015e into jenkinsci:master May 11, 2016
@jglick jglick deleted the logging branch May 11, 2016 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants