Skip to content
Permalink
Browse files
[JENKINS-34788] Add more logging for easy debugging bitbucket request…
… and response
  • Loading branch information
amansilla committed May 25, 2016
1 parent 66a0a89 commit 35fb7cf5e7bf2638f38baadbd63a6885774b5a52
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 35fb7cf

Please sign in to comment.