<expression>0 0 * * *</expression>
</trigger>
<repository>
<remote>http://google-guice.googlecode.com/svn/trunk/</remote>
</repository>
<mail>
<recipients>[email protected]</recipients>
</mail>
</job>
This job uses a number of standard configurations such as
element), and a cron
specified with the
description table that is generated automatically for each job.
The generated job is displayed in your Jenkins server as illustrated in Figure 10.27, “A job generated
by the Maven Jenkins plugin”.
Figure 10.27. A job generated by the Maven Jenkins plugin
Here’s another job building the Jenkins master branch at GitHub:
<job>
<id>jenkins-master</id>
<jdkName>jdk1.6.0</jdkName>
<numToKeep>5</numToKeep>
<mavenName>apache-maven-3</mavenName>
<trigger>
<type>timer</type>
<expression>0 1 * * *</expression>
</trigger>
<scmType>git</scmType>
<repository>
<remote>git://github.com/jenkinsci/jenkins.git</remote>