From fe028bf02566d1be4340e65f42a37af2bcf4e5aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alfredo=20Espa=C3=B1a?= Date: Tue, 19 Dec 2023 20:51:20 +0000 Subject: [PATCH] fixes --- .../api/plugin/scheduler/job/tcl/executor/ExecutorService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/org/terrakube/api/plugin/scheduler/job/tcl/executor/ExecutorService.java b/api/src/main/java/org/terrakube/api/plugin/scheduler/job/tcl/executor/ExecutorService.java index 78f94c647..d1ada9e73 100644 --- a/api/src/main/java/org/terrakube/api/plugin/scheduler/job/tcl/executor/ExecutorService.java +++ b/api/src/main/java/org/terrakube/api/plugin/scheduler/job/tcl/executor/ExecutorService.java @@ -106,7 +106,7 @@ public boolean execute(Job job, String stepId, Flow flow) { if(job.getOverrideBranch() == null) { executorContext.setBranch(job.getWorkspace().getBranch()); } else { - if (job.getOverrideBranch() == "remote-content") { + if (job.getOverrideBranch().equals("remote-content")) { executorContext.setShowHeader(false); } executorContext.setBranch(job.getOverrideBranch());