Skip to content

Instantly share code, notes, and snippets.

@jamessa
Created September 13, 2012 09:43
Show Gist options
  • Save jamessa/3713259 to your computer and use it in GitHub Desktop.
Save jamessa/3713259 to your computer and use it in GitHub Desktop.
A sample of Jenkins configuration
<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
<description></description>
<keepDependencies>false</keepDependencies>
<properties/>
<scm class="hudson.plugins.git.GitSCM">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<name>origin</name>
<refspec></refspec>
<url>file:///Volumes/Backpack/Heroes/jsa/Developer/Stream</url>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>**StagingSettings*</name>
</hudson.plugins.git.BranchSpec>
</branches>
<disableSubmodules>false</disableSubmodules>
<recursiveSubmodules>true</recursiveSubmodules>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<authorOrCommitter>false</authorOrCommitter>
<clean>false</clean>
<wipeOutWorkspace>false</wipeOutWorkspace>
<pruneBranches>false</pruneBranches>
<remotePoll>false</remotePoll>
<ignoreNotifyCommit>false</ignoreNotifyCommit>
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
<gitTool>Default</gitTool>
<submoduleCfg class="list"/>
<relativeTargetDir></relativeTargetDir>
<reference></reference>
<excludedRegions></excludedRegions>
<excludedUsers></excludedUsers>
<gitConfigName></gitConfigName>
<gitConfigEmail></gitConfigEmail>
<skipTag>true</skipTag>
<includedRegions></includedRegions>
<scmName></scmName>
</scm>
<canRoam>true</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers class="vector">
<hudson.triggers.SCMTrigger>
<spec>* * * * *</spec>
</hudson.triggers.SCMTrigger>
</triggers>
<concurrentBuild>false</concurrentBuild>
<builders>
<au.com.rayh.XCodeBuilder>
<cleanBeforeBuild>true</cleanBeforeBuild>
<cleanTestReports>false</cleanTestReports>
<configuration>Release</configuration>
<target>wammer-iOS</target>
<sdk>iphoneos</sdk>
<symRoot></symRoot>
<configurationBuildDir></configurationBuildDir>
<xcodeProjectPath></xcodeProjectPath>
<xcodeProjectFile></xcodeProjectFile>
<xcodebuildArguments></xcodebuildArguments>
<xcodeSchema></xcodeSchema>
<xcodeWorkspaceFile></xcodeWorkspaceFile>
<embeddedProfileFile></embeddedProfileFile>
<cfBundleVersionValue></cfBundleVersionValue>
<cfBundleShortVersionStringValue></cfBundleShortVersionStringValue>
<buildIpa>true</buildIpa>
<unlockKeychain>false</unlockKeychain>
<keychainPath></keychainPath>
<keychainPwd></keychainPwd>
</au.com.rayh.XCodeBuilder>
<au.com.rayh.XCodeBuilder>
<cleanBeforeBuild>false</cleanBeforeBuild>
<cleanTestReports>false</cleanTestReports>
<configuration>Release</configuration>
<target>wammer-iOS-Test</target>
<sdk>/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/</sdk>
<symRoot></symRoot>
<configurationBuildDir></configurationBuildDir>
<xcodeProjectPath></xcodeProjectPath>
<xcodeProjectFile></xcodeProjectFile>
<xcodebuildArguments></xcodebuildArguments>
<xcodeSchema></xcodeSchema>
<xcodeWorkspaceFile></xcodeWorkspaceFile>
<embeddedProfileFile></embeddedProfileFile>
<cfBundleVersionValue></cfBundleVersionValue>
<cfBundleShortVersionStringValue></cfBundleShortVersionStringValue>
<buildIpa>false</buildIpa>
<unlockKeychain>false</unlockKeychain>
<keychainPath>${HOME}/Library/Keychains/login.keychain</keychainPath>
<keychainPwd></keychainPwd>
</au.com.rayh.XCodeBuilder>
<hudson.tasks.Shell>
<command>bash tools/send-to-testflight.sh
mkdir -p cobertura-report
gcovr --branches --xml --output=cobertura-report/coverage.xml</command>
</hudson.tasks.Shell>
</builders>
<publishers>
<hudson.plugins.cobertura.CoberturaPublisher>
<coberturaReportFile>cobertura-report/*.xml</coberturaReportFile>
<onlyStable>true</onlyStable>
<failUnhealthy>false</failUnhealthy>
<failUnstable>false</failUnstable>
<autoUpdateHealth>false</autoUpdateHealth>
<autoUpdateStability>false</autoUpdateStability>
<healthyTarget>
<targets class="enum-map" enum-type="hudson.plugins.cobertura.targets.CoverageMetric">
<entry>
<hudson.plugins.cobertura.targets.CoverageMetric>LINE</hudson.plugins.cobertura.targets.CoverageMetric>
<int>7000000</int>
</entry>
</targets>
</healthyTarget>
<unhealthyTarget>
<targets class="enum-map" enum-type="hudson.plugins.cobertura.targets.CoverageMetric">
<entry>
<hudson.plugins.cobertura.targets.CoverageMetric>LINE</hudson.plugins.cobertura.targets.CoverageMetric>
<int>0</int>
</entry>
</targets>
</unhealthyTarget>
<failingTarget>
<targets class="enum-map" enum-type="hudson.plugins.cobertura.targets.CoverageMetric">
<entry>
<hudson.plugins.cobertura.targets.CoverageMetric>LINE</hudson.plugins.cobertura.targets.CoverageMetric>
<int>0</int>
</entry>
</targets>
</failingTarget>
<sourceEncoding>UTF_8</sourceEncoding>
</hudson.plugins.cobertura.CoberturaPublisher>
<hudson.tasks.junit.JUnitResultArchiver>
<testResults>test-reports/*.xml</testResults>
<keepLongStdio>false</keepLongStdio>
<testDataPublishers/>
</hudson.tasks.junit.JUnitResultArchiver>
<hudson.tasks.Mailer>
<recipients>jamie@waveface.com</recipients>
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
<sendToIndividuals>false</sendToIndividuals>
</hudson.tasks.Mailer>
</publishers>
<buildWrappers/>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment