|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

This issue is about build descriptions only. I have not tested setting project descriptions. Build descriptions are visible on project page (Build History table) and naturally on the build page itself. Displaying build descriptions in Build History table (project page) seems to be the problem here.
Here is a sample shell script that sets the build description during the build.
jcli="ssh -p <port> <jenkins host>"function get_first_link() { local text="first" local url="" class="code-quote">"http://xxxxx.xxxxx.xxxxx.xxxxx/xxxxx/xxxxx/xxxxx/xxxxx?zzz=yyy&aaa=bbb&ccc=ddd&eee=123" # this does not work: echo "[$text]($url)" # this works: # echo "<a\ href="">$url\">$text</a>" } function get_second_link() { <this is similar to get_first_link> } first=$( get_first_link ) second=$( get_second_link ) desc="$first\ $second" $jcli set-build-description "$JOB_NAME" "$BUILD_NUMBER" "$desc"