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?
For Workspace: ${PROJECT_URL}/ws/
For Archive: ${BUILD_URL}/artifact/
Build output: ${BUILD_LOG, maxLines=1000}
For tests you can use the tokens as below:
There are ${TEST_COUNTS, var="total"} total tests of which ${TEST_COUNTS, var="fail"} test(s) failed.
${FAILED_TESTS} - Displays failing unit test information, if any tests failed.
For complete reference to Content token and arguments, click on help icon.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With