Skip to content

Commit

Permalink
Fix for stale ghprbCommentBody values (#233/JENKINS-40802)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdh authored and samrocketman committed Jan 28, 2018
1 parent bb6f19b commit 753a77f
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -339,6 +339,7 @@ private void updatePR(GHPullRequest ghpr, GHIssueComment comment, boolean isWebh
// check that comment. Otherwise check the full set since the last
// time we updated (which might have just happened).
int commentsChecked = 0;
commentBody = null;
if (wasUpdated && (!isWebhook || !initialCommentCheckDone)) {
initialCommentCheckDone = true;
commentsChecked = checkComments(pullRequest, lastUpdateTime);
Expand Down

0 comments on commit 753a77f

Please sign in to comment.