Skip to content

Commit 87580c3

Browse files
authored
issue #3723 change PIPELINE_RUN_STATUS.html to have logic by providing link to the log file (#3724)
1 parent 8e9c777 commit 87580c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deploy/contents/install/email-templates/contents/PIPELINE_RUN_STATUS.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
<p>*** This is a system generated email, do not reply to this email ***</p>
1919
<p>A job with ID ${CP_DOLLAR}templateParameters["id"], launched from ${CP_DOLLAR}templateParameters.get("owner") account, has changed the status to <b>${CP_DOLLAR}templateParameters["status"]</b></p>
2020
<br />
21+
#set(${CP_DOLLAR}statusesToSendLogs = ["FAILED", "SUCCESS"])
22+
#if( ${CP_DOLLAR}statusesToSendLogs.contains(${CP_DOLLAR}templateParameters["status"]) )
23+
<p>You can <a href="https://$CP_API_SRV_EXTERNAL_HOST:$CP_API_SRV_EXTERNAL_PORT/pipeline/restapi/run/${CP_DOLLAR}templateParameters.get("id")/logfile">download logs</a> of this run.</p>
24+
#end
2125
<p><b>Job details:</b></p>
2226
<table>
2327
<tr>

0 commit comments

Comments
 (0)