Skip to content

Commit

Permalink
[JENKINS-34788] Add more logging for easy debugging bitbucket request…
Browse files Browse the repository at this point in the history
… and response
  • Loading branch information
Antonio Mansilla committed May 25, 2016
1 parent 66a0a89 commit 35fb7cf
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -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!");
}
}
Expand Down

0 comments on commit 35fb7cf

Please sign in to comment.