<div dir="ltr">Hi,<div><br></div><div>I have a CI which is reporting into a dashboard, and I want my users to get an e-mail if they are causing a problem. The problem is that I cannot get it working.</div><div><br></div><div>I have polluted cdash with add_log to understand what is happening. It turns out that the SQL query in NNN, for instance:</div><div><br></div><div>
<p class=""><span class="">SELECT author,email,committeremail FROM updatefile AS uf,build2update AS b2u </span>WHERE b2u.updateid=uf.updateid AND b2u.buildid='65962'</p><p class=""><br></p><p class="">does never return anything. It turns out that the insert into the "build2update" that associates the buildid with the update id comes later, and at that point, no-one is checking if there should be e-mails sent. </p><p class=""><br></p><p class="">From the ctest side, I see from the log that it alsways sends the Build first, followed by the Configure, and last the Update xml files. Since the insert into build2update comes at when the update is submitted, I tried to reverse the order by having ctest_sumbit (PART ... ), but then I get different build-numbers.</p><p class="">Any ideas on how to proceed?</p><p class=""><br></p><p class=""><br></p><p class="">- Kristofer</p></div><div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div></div><div><table><tbody><tr><td><font face="sans-serif"><b>Dr. Kristofer Tingdahl</b></font></td></tr><tr><td><font face="sans-serif"><i>Chief Executive Officer</i></font></td></tr></tbody></table><font color="#48a830" face="sans-serif" style="font-size:20px"><b>______________________________</b></font><br><br><table><tbody><tr><td colspan="2"><font face="face="><b>dGB Earth Sciences</b></font></td></tr><tr><td><font face="sans-serif">Phone:</font></td><td><font face="sans-serif"><a style="color:rgb(17,85,204)">+31 53 4315155</a></font></td></tr><tr><td><font face="sans-serif">Skype:</font></td><td><font face="sans-serif">dgbtingdahl</font></td></tr><tr><td><font face="sans-serif">E-mail:</font></td><td><font face="sans-serif"><a href="mailto:kristofer.tingdahl@dgbes.com" style="color:rgb(17,85,204)" target="_blank">kristofer.tingdahl@dgbes.com</a></font></td></tr><tr><td><font face="sans-serif">Internet:</font></td><td><font face="sans-serif"><a href="http://dgbes.com/" style="color:rgb(17,85,204)" target="_blank">dgbes.com</a> & <a href="http://opendtect.org/" style="color:rgb(17,85,204)" target="_blank">opendtect.org</a></font></td></tr></tbody></table><font color="#48a830" face="sans-serif" style="font-size:20px"><b>______________________________</b></font><br><br></div></div></div>
</div></div>