Hi all,<br><br>updated 2): Jenkins instance is NOT <font color="#222222" face="arial, sans-serif"><span style="border-collapse:collapse"><a href="https://smilebase.ci.cloudbees.com/" target="_blank">https://smilebase.ci.cloudbees.com/</a> ! The correct URL is<br>

<br><a href="https://logback.ci.cloudbees.com" target="_blank">https://logback.ci.cloudbees.com</a><br><br>@ceki: you are now admin of </span></font><font color="#222222" face="arial, sans-serif"><span style="border-collapse:collapse"><a href="https://logback.ci.cloudbees.com" target="_blank">https://logback.ci.cloudbees.com</a></span></font><br>
<font color="#222222" face="arial, sans-serif"><span style="border-collapse:collapse">If someone wants to access the Jenkins instance, please create an Cloudbees account and <br>send me an email.<br><br>@ceki: can you please add the email address<br>
<br></span></font><div class="iw"><span class="gD"><a href="mailto:jenkins-no-reply@cloudbees.com">jenkins-no-reply@cloudbees.com</a></span> </div><br>to <a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a> mailing list? So that Jenkins notifications will also be posted to<br>
<a href="mailto:logback-dev@qos.ch">logback-dev@qos.ch</a> ...<br><font color="#222222" face="arial, sans-serif"><span style="border-collapse:collapse"><br>Christian<br></span></font><br><div class="gmail_quote">2012/6/18 Christian Trutz <span dir="ltr"><<a href="mailto:christian.trutz@belaso.de" target="_blank">christian.trutz@belaso.de</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ceki,<div><div><br></div><div><span style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">>There is no Jenkins instance for logback/logback-extensions. There was<br>


>a CI for logback a few years back but I no longer had the time to<br>>maintain the instance.</span></div><div><font color="#222222" face="arial, sans-serif"><span style="border-collapse:collapse"><br>
</span></font></div></div><div><font color="#222222" face="arial, sans-serif"><span style="border-collapse:collapse">I configure a Jenkins instance on <a href="http://www.cloudbees.com/" target="_blank">http://www.cloudbees.com/</a></span></font></div>


<div><font color="#222222" face="arial, sans-serif"><span style="border-collapse:collapse">for logback-extensions</span></font></div><div><font color="#222222" face="arial, sans-serif"><span style="border-collapse:collapse"><br>


</span></font></div><div><font color="#222222" face="arial, sans-serif"><span style="border-collapse:collapse">1) a new build is triggered instantly after a "git push" on GitHub (via service hook)</span></font></div>


<div><font color="#222222" face="arial, sans-serif"><span style="border-collapse:collapse">2) Jenkins instance is <a href="https://smilebase.ci.cloudbees.com/" target="_blank">https://smilebase.ci.cloudbees.com/</a></span></font></div>


<div><font color="#222222" face="arial, sans-serif"><span style="border-collapse:collapse">3) if build fails a email is send to <a href="mailto:logback-dev@qos.ch" target="_blank">logback-dev@qos.ch</a></span></font></div>

<span><font color="#888888">
<div><span style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif"><br></span></div><div><span style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif">Christian</span></div>

</font></span><div><div>
<div><font color="#222222" face="arial, sans-serif"><span style="border-collapse:collapse"><br></span></font><br><div class="gmail_quote">2012/6/18 ceki <span dir="ltr"><<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a>></span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 18.06.2012 17:32, Christian Trutz wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi ceki,<br>
<br>
thank you very much for your remarks :-)<br>
<br>
Remark 1): yes i agree with you, that integration tests are also very<br>
usefull and only<br>
with integration tests you know, that the software do what you want.<br>
I thought that maybe Maven profiles could be very useful to separate<br>
execution of<br>
integration tests. Only with profile (say "integration-tests") the<br>
integration tests will<br>
be executed. Have we any Hudson/Jenkins instance for logback-extensions?<br>
</blockquote>
<br></div>
You would need to have an oracle-profile, mysql-profile,<br>
postgres-profile and mongo-db profile. I think it might be easier to<br>
keep track of the machines in code as is done in<br>
DBAppenderIntegrationTest. Using profiles has the advantage of<br>
decoupling the tests run from the test code. The isConformantHost<br>
check is quick-and-dirty but gets the job done.<br>
<br>
There is no Jenkins instance for logback/logback-extensions. There was<br>
a CI for logback a few years back but I no longer had the time to<br>
maintain the instance.<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Remark 2): I am using TestNG only because it was included, not because I<br>
think it<br>
is necesary. I will change the logback-ext-mongodb unit tests to JUnit<br>
tests.<br>
</blockquote>
<br></div>
That would be great thanks.<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Remark 3):<br>
 >If I understand correctly, Jmockit relies on a java-agent to execute?<br>
Yes, with jdk1.5 it relies on java-agent, with jdk1.6. it runs also<br>
without java-agent.<br>
We have jdk1.6. so we do not need any java-agent configurations, the<br>
tests run OTB.<br>
</blockquote>
<br></div>
Looking at [1], although ootb there is a javaagent attached to the<br>
JVM. I might be wrong here but using a Java agent to run tests seems<br>
like an awfully heavy handed method. It affects every single class<br>
loaded into memory. The MockitoJUnitRunner approach seems less<br>
invasive imho.<br>
<br>
[1] <a href="http://tinyurl.com/cflvr9r" target="_blank">http://tinyurl.com/cflvr9r</a><div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Remark 4): Ohh ok, I will separate logback-ext-mongodb into classic and<br>
access ...<br>
</blockquote>
<br></div>
Thank you. To be precise, it's actually logback-mongodb-parent pom<br>
module plus 3 children: logback-mongodb-core, logback-mongodb-classic<br>
and logback-mongodb-access.<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 >Notwithstanding the above remarks, I am looking forward to testing<br>
logback-mongodb-* once I install MongoDB on my local machine.<br>
OK please look also to<br>
<a href="https://github.com/qos-ch/logback-extensions/wiki/MongoDB" target="_blank">https://github.com/qos-ch/<u></u>logback-extensions/wiki/<u></u>MongoDB</a><br>
</blockquote>
<br></div>
I think it would be easier if you could push the docs onto <a href="http://logback.qos.ch" target="_blank">http://logback.qos.ch</a> directly. We can discuss this later.<div><div><br>
<br>
-- <br>
Ceki<br>
<a href="http://twitter.com/#%21/ceki" target="_blank">http://twitter.com/#!/ceki</a><br>
______________________________<u></u>_________________<br>
logback-dev mailing list<br>
<a href="mailto:logback-dev@qos.ch" target="_blank">logback-dev@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-dev" target="_blank">http://mailman.qos.ch/mailman/<u></u>listinfo/logback-dev</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br>