Common Build Infrastructure/Getting Started/Build In Hudson/Bootstrapping/config.xml
A sample config.xml to set up an Ant job to run Athena in Hudson for a given build.
<?xml version='1.0' encoding='UTF-8'?> <project> <actions/> <description>Nightly build using Dash Athena CBI, monitoring SVN every 6 hrs for changes.</description> <logRotator> <daysToKeep>5</daysToKeep> <numToKeep>5</numToKeep> </logRotator> <keepDependencies>false</keepDependencies> <properties> <hudson.model.ParametersDefinitionProperty> <parameterDefinitions> <hudson.model.ChoiceParameterDefinition> <name>BUILDTYPE</name> <description>Nightly, Milestone, or Release?</description> <choices class="java.util.Arrays$ArrayList"> <a class="string-array"> <string>N</string> <string>M</string> <string>R</string> </a> </choices> </hudson.model.ChoiceParameterDefinition> </parameterDefinitions> </hudson.model.ParametersDefinitionProperty> <hudson.plugins.disk__usage.DiskUsageProperty/> <hudson.plugins.descriptionsetter.JobByDescription/> </properties> <scm class="hudson.scm.SubversionSCM"> <locations> <hudson.scm.SubversionSCM_-ModuleLocation> <remote>https://anonsvn.jboss.org/repos/tdesigner/trunk</remote> <local>tdesigner</local> </hudson.scm.SubversionSCM_-ModuleLocation> </locations> <useUpdate>true</useUpdate> <doRevert>false</doRevert> <browser class="hudson.scm.browsers.FishEyeSVN"> <url>http://fisheye.jboss.org/browse/TDesigner/</url> <rootModule></rootModule> </browser> <excludedRegions></excludedRegions> <excludedUsers></excludedUsers> <excludedRevprop></excludedRevprop> <excludedCommitMessages></excludedCommitMessages> </scm> <assignedNode>RHEL5_any</assignedNode> <canRoam>false</canRoam> <disabled>false</disabled> <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> <jdk>java16_default</jdk> <triggers class="vector"> <hudson.triggers.SCMTrigger> <spec>40 3,9,15,21 * * * </spec> </hudson.triggers.SCMTrigger> </triggers> <concurrentBuild>false</concurrentBuild> <builders> <hudson.tasks.Ant> <targets></targets> <antName>ant-1.7.x</antName> <buildFile>tdesigner/releng/build.xml</buildFile> </hudson.tasks.Ant> </builders> <publishers> <hudson.tasks.ArtifactArchiver> <artifacts>**/build/?20*/**, **/build/?-SNAPSHOT/**,</artifacts> <latestOnly>true</latestOnly> </hudson.tasks.ArtifactArchiver> <hudson.plugins.warnings.WarningsPublisher> <threshold></threshold> <newThreshold></newThreshold> <failureThreshold></failureThreshold> <newFailureThreshold></newFailureThreshold> <healthy></healthy> <unHealthy></unHealthy> <pluginName>[WARNINGS] </pluginName> <thresholdLimit>low</thresholdLimit> <defaultEncoding></defaultEncoding> <pattern></pattern> <parserNames> <string>Eclipse Java Compiler</string> </parserNames> <canRunOnFailed>false</canRunOnFailed> <ignoreConsole>false</ignoreConsole> </hudson.plugins.warnings.WarningsPublisher> <hudson.plugins.emotional__hudson.EmotionalHudsonPublisher/> <hudson.tasks.Mailer> <recipients></recipients> <notifyEveryBuild>false</notifyEveryBuild> <dontNotifyOnModules>false</dontNotifyOnModules> <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild> <sendToIndividuals>true</sendToIndividuals> </hudson.tasks.Mailer> </publishers> <buildWrappers> <hudson.plugins.xvnc.Xvnc> <takeScreenshot>false</takeScreenshot> </hudson.plugins.xvnc.Xvnc> </buildWrappers> </project>