Can anyone tell me how to add a link to a file location in the email body?
I have the below email body and I want to send the highlighted/bold bit( <a
href=C:\\abc\\xyz\\>) as a link in the email body after every run, so,
that users can click on the link from email to be take to the location, but
it doesn't work. .:-
emailext attachLog: true, attachmentsPattern: 'target',
subject: "Jenkins Build Report
${currentBuild.currentResult}: Job ${env.JOB_NAME} build
${env.BUILD_NUMBER}",
body: "${currentBuild.currentResult}: Job ${env.JOB_NAME}
\n Link: ${env.BUILD_URL} \n Drop folders can be found at
*<a href=C:\\abc\\xyz\\>*",
mimeType: 'text/html',
to: testEmailGroup
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/ad5bab07-344a-4332-b1ec-a158d929ae1bn%40googlegroups.com.