]> WPIA git - gigi.git/commitdiff
UPD: the jenkins config file with more recent config.
authorFelix Dörre <felix@dogcraft.de>
Wed, 1 Oct 2014 17:21:41 +0000 (19:21 +0200)
committerJanis Streib <janis@dogcraft.de>
Wed, 31 Dec 2014 01:35:44 +0000 (02:35 +0100)
doc/jenkinsJob/README.txt
doc/jenkinsJob/config.xml

index c5651bf0f7dd44b67d7e9f21179eef86edf47b47..ec8e3372b453b78d2578b49472d49baef3c601f0 100644 (file)
@@ -1,5 +1,4 @@
-/path/to/mysql-connector.jar
-a Path to the mysql-jdbc-connector
+you need the debian mysql-connector package (jar under /usr/share/java/mysql-connector.jar)
 
 <yourSqlPassword>
 a Password to the sql database to test in.
@@ -8,3 +7,6 @@ a Password to the sql database to test in.
 folder Containing:
 - junit.jar
 - org.hamcrest.core.jar
+
+
+Fill also all other variables that are marked with "$$$$"
index 1bd7e420609ba5353a4d785d2f44be1761f04f06..5268bd728c638bc460ffe8144b9ffd7552c15470 100644 (file)
@@ -15,7 +15,7 @@
         <hudson.model.TextParameterDefinition>
           <name>JAVA_HOME</name>
           <description></description>
-          <defaultValue>/usr/local/jvm/openjdk-1.8.0-internal</defaultValue>
+          <defaultValue>/usr/lib/jvm/openjdk-8-jdk-gigi</defaultValue>
         </hudson.model.TextParameterDefinition>
         <hudson.model.TextParameterDefinition>
           <name>BRANCH</name>
@@ -71,7 +71,7 @@ KEYSIZE=4096
 EOT
 cat &lt;&lt;EOT &gt;config/test.properties
 type=autonomous
-java=/usr/local/jvm/openjdk-1.8.0-internal/bin/java -cp gigi.jar:$$$$SQL_CONNECTOR_PATH$$$$ org.cacert.gigi.Launcher
+java=/usr/lib/jvm/openjdk-8-jdk-gigi/bin/java -cp gigi.jar:/usr/share/java/mysql-connector-java.jar -javaagent:/usr/share/java/jacocoagent.jar org.cacert.gigi.Launcher
 serverPort.https=4448
 serverPort.http=8098
 mailPort=8473
@@ -88,15 +88,22 @@ domain.manage=http://$$$$YOUR_TESTSERVICE$$$$/dyn-txt.php?token=$$$$managementTo
 domain.http=$$$$YOUR_TESTSERVICE_HTTP$$$$
 domain.dnstest=$$$$YOUR_TESTSERVICE_ZONE$$$$
 domain.testns=$$$$YOUR_TESTSERVICE_AUTH_NAMESERVER$$$$
+domain.local=test.$$$$YOUR_LOOKUP_DOMAIN$$$$
+
+email.address=$$$$YOUR_IMAP_EMAIL$$$$
+email.password=$$$$YOUR_IMAP_PASSWORD$$$$
+email.imap=$$$$YOUR_IMAP_SERVER$$$$
+email.imap.user=$$$$YOUR_IMAP_USERNAME$$$$
+email.non-address=$$$$IMAP_NON_EXISTENT_ADDRESS$$$$
+
 EOT
 </command>
     </hudson.tasks.Shell>
     <hudson.tasks.Ant plugin="ant@1.2">
-      <targets>$TARGET</targets>
+      <targets>$TARGET generatecoco</targets>
       <antOpts>-Dfile.encoding=UTF-8</antOpts>
       <buildFile>build.xml</buildFile>
-      <properties>juintexec=$$$$JUNIT_PATH$$$$
-mysqlconnector=$$$$SQL_CONNECTOR_PATH$$$$</properties>
+      <properties>juintexec=$$$$JUNIT_PATH$$$$</properties>
     </hudson.tasks.Ant>
   </builders>
   <publishers>