Add field with link to artifacts

PROD-28946

Change-Id: I9a177e24db7a24ace8e3048920fb9381e0bb337a
diff --git a/daily_jenkins_job_report/daily_report/templates/report_template.html b/daily_jenkins_job_report/daily_report/templates/report_template.html
index 8fa0fad..f96a3be 100644
--- a/daily_jenkins_job_report/daily_report/templates/report_template.html
+++ b/daily_jenkins_job_report/daily_report/templates/report_template.html
@@ -38,6 +38,7 @@
                 <th>Build status</th>
                 <th>Job name</th>
                 <th>Base URL</th>
+                <th>Artifacts</th>
             </tr>
 
               {% for item in value %}
@@ -57,6 +58,11 @@
                   {% endif %}
 
                   <td><a href="{{ item.baseurl }}">{{ item.baseurl[32:] }}</a></td>
+                  {% if 'https://ci.mcp.mirantis.net/job/oscore-formula-systest-virtual_mcp11_' in item.baseurl %}
+                    <td><a href="https://artifactory.mcp.mirantis.net/artifactory/oscore-local/jenkins-{{ item.baseurl[32:] | replace('_', '-') | replace('/', '-') }}.bud-mk.local/">link</a></td>
+                  {% else %}
+                    <td><a href="https://artifactory.mcp.mirantis.net/artifactory/oscore-local/jenkins-{{ item.job_name }}-{{ item.baseurl[-4:] }}.local/">link</a></td>
+                  {% endif %}
                   </tr>
               {% endfor %}
           </table>