Skip to content

Commit

Permalink
Print more appropriate messages when data is fetched from Phabricator…
Browse files Browse the repository at this point in the history
…r to exactly know what plugin is doing (#348)

* Print more appropriate messages when data is fetched from Phabricator to exactly know what plugin is doing

* Add message when harbormaster step is finished
  • Loading branch information
Arturas Moskvinas committed Oct 22, 2020
1 parent e1eda82 commit 6d491a0
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -168,18 +168,22 @@ public Environment setUp(

if (sendUriResult != Task.Result.SUCCESS) {
logger.info("harbormaster", "Unable to send BUILD_URL to Harbormaster");
} else {
logger.info("harbormaster", "Harbormaster BUILD_URL sent");
}
}

Differential diff;
try {
logger.info(CONDUIT_TAG, "Fetching differential from Conduit API");
diff = new Differential(diffClient.fetchDiff());
logger.info(CONDUIT_TAG, "Differential fetched from Conduit API");
String revisionID = diff.getRevisionID(false);
logger.info(CONDUIT_TAG, "Fetching commit from Conduit API");
diff.setCommitMessage(diffClient.getCommitMessage(revisionID));
logger.info(CONDUIT_TAG, "Fetched commit from Conduit API");
diff.decorate(build, this.getPhabricatorURL(build.getParent()));

logger.info(CONDUIT_TAG, "Fetching differential from Conduit API");

envAdditions.put(DIFFERENTIAL_AUTHOR, diff.getAuthorEmail());
envAdditions.put(DIFFERENTIAL_BASE_COMMIT, diff.getBaseCommit());
envAdditions.put(DIFFERENTIAL_BRANCH, diff.getBranch());
Expand Down

0 comments on commit 6d491a0

Please sign in to comment.