{{/* * Copyright (C) 2024 Umorpha Systems * SPDX-License-Identifier: AGPL-3.0-or-later */}} {{- define "page-title" }}Job {{ .Job.ID }}{{ end }} {{- define "page-content" }}
Status
{{ .Job.Status }}
Triggers
{{ template "triggers.html.tmpl" .Job }}
Command
{{ .Job.Command }}

Artifacts

{{- if .Job.Status.Finished }} {{- if gt (len .ArtifactNames) 0 }} {{- else }}

This job had no artifacts.

{{- end }} {{- else }}

Artifacts are not available until the job has finished.

{{- end }}

Log

{{- if .Job.Status.HasLog }} {{- else }}

There is no log because the job has not started yet.

{{- end }}
{{- end }} {{- template "page.html.tmpl" . }}