Skip to content

Instantly share code, notes, and snippets.

@potiuk
Created March 12, 2013 18:11
Show Gist options
  • Save potiuk/5145368 to your computer and use it in GitHub Desktop.
Save potiuk/5145368 to your computer and use it in GitHub Desktop.
IOS_template.xml
<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
<description></description>
<logRotator class="hudson.tasks.LogRotator">
<daysToKeep>90</daysToKeep>
<numToKeep>30</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>-1</artifactNumToKeep>
</logRotator>
<keepDependencies>true</keepDependencies>
<properties/>
<scm class="hudson.plugins.git.GitSCM" plugin="[email protected]">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<name></name>
<refspec></refspec>
<url>https://github.com/maciej-sawicki/ios_demo.git</url>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>**</name>
</hudson.plugins.git.BranchSpec>
</branches>
<disableSubmodules>false</disableSubmodules>
<recursiveSubmodules>false</recursiveSubmodules>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<authorOrCommitter>false</authorOrCommitter>
<clean>false</clean>
<wipeOutWorkspace>false</wipeOutWorkspace>
<pruneBranches>false</pruneBranches>
<remotePoll>false</remotePoll>
<ignoreNotifyCommit>false</ignoreNotifyCommit>
<useShallowClone>false</useShallowClone>
<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>false</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>
<ignorePostCommitHooks>false</ignorePostCommitHooks>
</hudson.triggers.SCMTrigger>
</triggers>
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.plugins.gradle.Gradle plugin="[email protected]">
<description>Cleans the builds, ota file and documentation </description>
<switches>--info
--stacktrace</switches>
<tasks>clean cleanRelease unlockKeychain buildAll</tasks>
<rootBuildScriptDir></rootBuildScriptDir>
<buildFile></buildFile>
<gradleName>(Default)</gradleName>
<useWrapper>false</useWrapper>
<makeExecutable>false</makeExecutable>
<fromRootBuildScriptDir>false</fromRootBuildScriptDir>
</hudson.plugins.gradle.Gradle>
</builders>
<publishers>
<hudson.tasks.ArtifactArchiver>
<artifacts>doc/**, ota/**, README.txt, LICENCE.txt, tmp/*-src.zip, tmp/*-doc.zip</artifacts>
<latestOnly>false</latestOnly>
</hudson.tasks.ArtifactArchiver>
<hudson.tasks.Fingerprinter>
<targets></targets>
<recordBuildArtifacts>true</recordBuildArtifacts>
</hudson.tasks.Fingerprinter>
<hudson.tasks.Mailer plugin="[email protected]">
<recipients>[email protected]</recipients>
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
<sendToIndividuals>false</sendToIndividuals>
</hudson.tasks.Mailer>
</publishers>
<buildWrappers>
<hudson.plugins.release.ReleaseWrapper plugin="[email protected]">
<releaseVersionTemplate>Release ${VERSION_STRING} - ${RELEASE_NOTES}</releaseVersionTemplate>
<doNotKeepLog>false</doNotKeepLog>
<overrideBuildParameters>false</overrideBuildParameters>
<parameterDefinitions>
<hudson.model.StringParameterDefinition>
<name>VERSION_STRING</name>
<description>Enter string version name for the release. Together with numeric version code (automatically increased at release time) this version string will make a full version of the release: ${VERSION_STRING}_${VERSION_CODE}</description>
<defaultValue></defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>RELEASE_NOTES</name>
<description>Enter short release notes here</description>
<defaultValue></defaultValue>
</hudson.model.StringParameterDefinition>
</parameterDefinitions>
<preBuildSteps>
<hudson.plugins.gradle.Gradle plugin="[email protected]">
<description>Cleans &quot;ota&quot; and &quot;doc&quot; directories and updates version</description>
<switches>--info
--stacktrace
-Pversion.code=${BUILD_NUMBER} </switches>
<tasks> updateVersion verifyReleaseNotes</tasks>
<rootBuildScriptDir></rootBuildScriptDir>
<buildFile></buildFile>
<gradleName>(Default)</gradleName>
<useWrapper>false</useWrapper>
<makeExecutable>false</makeExecutable>
<fromRootBuildScriptDir>false</fromRootBuildScriptDir>
</hudson.plugins.gradle.Gradle>
</preBuildSteps>
<postBuildSteps/>
<postSuccessfulBuildSteps>
<hudson.plugins.gradle.Gradle plugin="[email protected]">
<description>Creates &quot;-src&quot; zip file, prepares and sends release e-mail</description>
<switches>--info
--stacktrace
-Prelease.notes=&quot;${RELEASE_NOTES}&quot;</switches>
<tasks>buildSourcesZip prepareMailMessage sendMailMessage</tasks>
<rootBuildScriptDir></rootBuildScriptDir>
<buildFile></buildFile>
<gradleName>(Default)</gradleName>
<useWrapper>false</useWrapper>
<makeExecutable>false</makeExecutable>
<fromRootBuildScriptDir>false</fromRootBuildScriptDir>
</hudson.plugins.gradle.Gradle>
</postSuccessfulBuildSteps>
<postFailedBuildSteps/>
</hudson.plugins.release.ReleaseWrapper>
</buildWrappers>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment