配置可编辑电子邮件通知Jenkins的内容 [英] Configuring Content for Editable Email Notification Jenkins

查看:353
本文介绍了配置可编辑电子邮件通知Jenkins的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用控制台输出和测试结果作为电子邮件正文的从属作业完成后,我正在使用可编辑的电子邮件"通知来发送电子邮件.

I am using Editable E-mail notification to send email after a slave job is finished with the console output and test results as the email body.

我还需要在电子邮件中直接添加指向实际构建构建文件夹的链接,有没有简便的方法?也许某种令牌?我没有找到有关如何直接链接到构建文件夹以在电子邮件中显示其位置的任何线索.

I also need to add to the email direct link to the folder where build was actually built, is there an easy way to do this? maybe some kind of token? I didn't find any clues on how to get direct link to the build folder to display it location in the email.

推荐答案

首先,点击内容令牌参考旁边的问号 ? ,这将告诉您您所需要的一切.

First, click the question mark ? next to Content Token Reference, this will tell you all you need.

您指的是实际构建目录的文件夹"?工作区还是构建存档?

What "folder where build was actually built" are you referring to? The Workspace, or the build Archive?

对于工作区:${PROJECT_URL}/ws/
对于存档:${BUILD_URL}/artifact/

For Workspace: ${PROJECT_URL}/ws/
For Archive: ${BUILD_URL}/artifact/

这篇关于配置可编辑电子邮件通知Jenkins的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆