Skip to content
Permalink
Browse files
Merge pull request #21 from Flagbit/issue-34651
[JENKINS-34788] Add more logging for easy debugging bitbucket request
  • Loading branch information
Antonio Mansilla committed May 25, 2016
2 parents 66a0a89 + 35fb7cf commit acac5171f50f61ea098c49778868fdff12ec0ed8
Showing 1 changed file with 3 additions and 1 deletion.
@@ -287,7 +287,9 @@ private void notifyBuildStatus(final AbstractBuild build, final BuildListener li
apiService.signRequest(token, request);

Response response = request.send();
logger.info("This response was received:" + response.getBody());

logger.info("This request was sent: " + request.getBodyContents());
logger.info("This response was received: " + response.getBody());
listener.getLogger().println("Sending build status " + buildStatus.getState() + " for commit " + buildStatusResource.getCommitId() + " to BitBucket is done!");
}
}

0 comments on commit acac517

Please sign in to comment.