private void buildAndRunWebApp(String label, String gradleBuildFile)
      throws IOException, InterruptedException, DigestException {
    String nameBase = IntegrationTestingConfiguration.getTestRepositoryLocation() + '/';
    String targetImage = nameBase + label + System.nanoTime();
    String output =
        JibRunHelper.buildAndRun(
            springBootProject, targetImage, gradleBuildFile, "--detach", "-p8080:8080");
    containerName = output.trim();
  }
Integration tests for building Spring Boot images.
jib-gradle-plugin/src/integration-test/java/com/google/cloud/tools/jib/gradle/SpringBootProjectIntegrationTest.java