From 924e4da4168392cc5e6d576e70758abc85d448b7 Mon Sep 17 00:00:00 2001 From: "nofar.bluestein@harness.io" Date: Wed, 21 Jul 2021 19:17:06 -0500 Subject: [PATCH 1/2] Update pipeline Hello World Java --- config/.harness/Hello_World_Java.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/.harness/Hello_World_Java.yaml b/config/.harness/Hello_World_Java.yaml index 640f8784..4b0894d8 100644 --- a/config/.harness/Hello_World_Java.yaml +++ b/config/.harness/Hello_World_Java.yaml @@ -44,13 +44,14 @@ pipeline: - step: type: BuildAndPushDockerRegistry name: Build and push image to DockerHub - timeout: 2h + timeout: 4h identifier: Build_and_push_image_to_DockerHub spec: connectorRef: account.nofar_dockerhub repo: bluebbb/javademo tags: - <+pipeline.sequenceId> + optimize: true infrastructure: type: KubernetesDirect spec: From 31c8312257656c373a2dc2b41f1518f5c5960aef Mon Sep 17 00:00:00 2001 From: nofarb Date: Wed, 21 Jul 2021 20:19:39 -0400 Subject: [PATCH 2/2] Update DirectoryListing.java --- src/main/java/io/harness/jhttp/processor/DirectoryListing.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/harness/jhttp/processor/DirectoryListing.java b/src/main/java/io/harness/jhttp/processor/DirectoryListing.java index e8dc0607..1a3e3aec 100644 --- a/src/main/java/io/harness/jhttp/processor/DirectoryListing.java +++ b/src/main/java/io/harness/jhttp/processor/DirectoryListing.java @@ -44,7 +44,7 @@ public boolean process(HttpRequest request, HttpResponse response) { private void appendLink(String fileName, String uri, PrintWriter writer) { // writer.append(String.format("
  • \n%s\n
  • \n", uri, fileName, fileName)); - writer.append(String.format("
  • \n%s\n
  • \n", uri, fileName, fileName)); + writer.append(String.format("
  • \n%s\n
  • \n", uri, fileName, fileName)); // writer.append(String.format("
  • \n%s\n
  • \n", uri, fileName, fileName)); }