Skip to content
Permalink
Browse files
Fix for stale ghprbCommentBody values (#233/JENKINS-40802)
  • Loading branch information
jmdh authored and samrocketman committed Jan 28, 2018
1 parent bb6f19b commit 753a77fc1eecf803e6218888fa746b62dedea9e4
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/java/org/jenkinsci/plugins/ghprb/GhprbPullRequest.java
@@ -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);

0 comments on commit 753a77f

Please sign in to comment.