From: Felix Dörre Date: Mon, 30 Jun 2014 10:51:47 +0000 (+0200) Subject: Adding template for jenkins job. X-Git-Url: https://code.wpia.club/?p=gigi.git;a=commitdiff_plain;h=4c2e4698ee34b4fa96a82717bd3318ac23ae3bc7 Adding template for jenkins job. --- diff --git a/doc/jenkinsJob/README.txt b/doc/jenkinsJob/README.txt new file mode 100644 index 00000000..c5651bf0 --- /dev/null +++ b/doc/jenkinsJob/README.txt @@ -0,0 +1,10 @@ +/path/to/mysql-connector.jar +a Path to the mysql-jdbc-connector + + +a Password to the sql database to test in. + +/path/to/folder/with/junit/ +folder Containing: +- junit.jar +- org.hamcrest.core.jar diff --git a/doc/jenkinsJob/config.xml b/doc/jenkinsJob/config.xml new file mode 100644 index 00000000..61a2e0cb --- /dev/null +++ b/doc/jenkinsJob/config.xml @@ -0,0 +1,113 @@ + + + + + false + + + hudson.model.Item.Read:anonymous + + + + + JAVA_HOME + + /usr/lib/jvm/java-8-openjdk/ + + + BRANCH + The branch to build from. + master + + + + + + 2 + + + + + https://github.com/yellowant/cacert-gigi.git + + + + + $BRANCH + + + false + false + false + false + false + false + false + false + false + false + + Default + + + + + + + + false + + + + true + false + false + false + Java 8 OpenJDK + + + @midnight + false + + + false + + + cat <<EOT >config/test.properties +type=autonomous +java=java -cp gigi.jar:/path/to/mysql-connector.jar org.cacert.gigi.Launcher +serverPort=4448 +mailPort=8473 +sql.driver=com.mysql.jdbc.Driver +sql.url=jdbc:mysql://localhost:3306/cacert +sql.user=cacert +sql.password= +EOT + + + + + -Dfile.encoding=UTF-8 + build.xml + juintexec=/path/to/folder/with/junit/ +mysqlconnector=/path/to/mysql-connector.jar + + + + + junit/*.xml + false + + + + natives/*.so,gigi.jar,gigi-linux_amd64.zip,static.tar.gz + false + false + + + + true + + + + \ No newline at end of file