Skip to content

Commit

Permalink
Make port job output like what it was before.
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmac committed May 11, 2017
1 parent 625e832 commit c2123ed
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public SimpleIntegrationRunner(String jobFileToRun) throws ControlDisagreementEx
// job ran successfully!
System.out.println("Job completed successfully");
if(job.getClass() == PortJob.class) {
if(status == JobStatus.SUCCESS) System.out.print("Success. ");
System.out.println("Your newly created dataset is at:\n" +
((PortJob)job).getSinkSiteDomain() + "/d/" + ((PortJob)job).getSinkSetID());
}
Expand Down Expand Up @@ -73,6 +74,7 @@ public SimpleIntegrationRunner(Job job) {
} else {
System.out.println("Job completed successfully");
if(job.getClass() == PortJob.class) {
if(status == JobStatus.SUCCESS) System.out.print("Success. ");
System.out.println("Your newly created dataset is at:\n" +
((PortJob)job).getSinkSiteDomain() + "/d/" + ((PortJob)job).getSinkSetID());
}
Expand Down

0 comments on commit c2123ed

Please sign in to comment.