Skip to content

Commit

Permalink
fix jobName sanitize issue
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Aguilera <[email protected]>
  • Loading branch information
jagedn committed Jul 9, 2024
1 parent 8f126d4 commit 44957b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class NomadTaskHandler extends TaskHandler implements FusionAwareTask {
def builder = createBashWrapper(task)
builder.build()

this.jobName = NomadHelper.sanitizeName(task.hash + "-" + task.name)
this.jobName = NomadHelper.sanitizeName(task.hash?.toString() + "-" + task.name)

final taskLauncher = getSubmitCommand(task)
final taskEnv = getEnv(task)
Expand Down

0 comments on commit 44957b5

Please sign in to comment.