static Instant getCreationTime(String imageReference) throws IOException, InterruptedException {
    String inspect =
        new Command("docker", "inspect", "-f", "{{.Created}}", imageReference).run().trim();
    return Instant.parse(inspect);
  }
Asserts that the test project build output indicates a success.

@param buildResult the builds results of the project under test
@param taskName the name of the Jib task that was run
@param successMessage a Jib-specific success message to check for
jib-gradle-plugin/src/integration-test/java/com/google/cloud/tools/jib/gradle/JibRunHelper.java