Skip to content

Instantly share code, notes, and snippets.

@MarkEWaite
Created January 26, 2015 03:50
Show Gist options
  • Save MarkEWaite/66a7e1c0648800d03c36 to your computer and use it in GitHub Desktop.
Save MarkEWaite/66a7e1c0648800d03c36 to your computer and use it in GitHub Desktop.
Jenkins git client plugin merge job - merges to sourceforge and google code
<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
<description>Merge jenkinsci git-client-plugin master branch to my git-client-plugin.git master branch</description>
<logRotator class="hudson.tasks.LogRotator">
<daysToKeep>-1</daysToKeep>
<numToKeep>15</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>-1</artifactNumToKeep>
</logRotator>
<keepDependencies>false</keepDependencies>
<properties/>
<scm class="hudson.plugins.git.GitSCM" plugin="[email protected]">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<name>upstream</name>
<url>git://github.com/jenkinsci/git-client-plugin.git</url>
</hudson.plugins.git.UserRemoteConfig>
<hudson.plugins.git.UserRemoteConfig>
<name>downstream</name>
<url>ssh://[email protected]/p/git-client-plugin/code</url>
<credentialsId>15f3a5bb-c6e4-4c49-8b12-9c7ff7d3a75b</credentialsId>
</hudson.plugins.git.UserRemoteConfig>
<hudson.plugins.git.UserRemoteConfig>
<name>google</name>
<url>https://code.google.com/p/git-client-plugin/</url>
<credentialsId>af159b98-a1e6-412f-a616-489f307945de</credentialsId>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>*/master</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<gitTool>Default</gitTool>
<browser class="hudson.plugins.git.browser.GithubWeb">
<url>https://github.com/jenkinsci/git-client-plugin</url>
</browser>
<submoduleCfg class="list"/>
<extensions>
<hudson.plugins.git.extensions.impl.CloneOption>
<shallow>false</shallow>
<reference>/var/lib/git/mwaite/jenkins/git-client-plugin.git</reference>
<timeout>1</timeout>
</hudson.plugins.git.extensions.impl.CloneOption>
<hudson.plugins.git.extensions.impl.SubmoduleOption>
<disableSubmodules>true</disableSubmodules>
<recursiveSubmodules>false</recursiveSubmodules>
<trackingSubmodules>false</trackingSubmodules>
</hudson.plugins.git.extensions.impl.SubmoduleOption>
<hudson.plugins.git.extensions.impl.CleanBeforeCheckout/>
<hudson.plugins.git.extensions.impl.PreBuildMerge>
<options>
<mergeRemote>downstream</mergeRemote>
<mergeTarget>master</mergeTarget>
<mergeStrategy>default</mergeStrategy>
</options>
</hudson.plugins.git.extensions.impl.PreBuildMerge>
<hudson.plugins.git.extensions.impl.PruneStaleBranch/>
<hudson.plugins.git.extensions.impl.AuthorInChangelog/>
</extensions>
</scm>
<assignedNode>linux</assignedNode>
<canRoam>false</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<jdk>java-7</jdk>
<triggers>
<hudson.triggers.SCMTrigger>
<spec>@hourly/2</spec>
<ignorePostCommitHooks>false</ignorePostCommitHooks>
</hudson.triggers.SCMTrigger>
</triggers>
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Maven>
<targets>clean install</targets>
<mavenName>maven-3.1.1</mavenName>
<properties>maven.test.failure.ignore=true</properties>
<usePrivateRepository>false</usePrivateRepository>
<settings class="jenkins.mvn.DefaultSettingsProvider"/>
<globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/>
</hudson.tasks.Maven>
</builders>
<publishers>
<hudson.tasks.junit.JUnitResultArchiver plugin="[email protected]">
<testResults>**/target/surefire-reports/TEST-*.xml</testResults>
<keepLongStdio>false</keepLongStdio>
<healthScaleFactor>1.0</healthScaleFactor>
</hudson.tasks.junit.JUnitResultArchiver>
<hudson.plugins.jacoco.JacocoPublisher plugin="[email protected]">
<execPattern>**/**.exec</execPattern>
<classPattern>**/classes</classPattern>
<sourcePattern>**/src/main/java</sourcePattern>
<inclusionPattern>**/*.class</inclusionPattern>
<exclusionPattern></exclusionPattern>
<minimumInstructionCoverage>0</minimumInstructionCoverage>
<minimumBranchCoverage>0</minimumBranchCoverage>
<minimumComplexityCoverage>0</minimumComplexityCoverage>
<minimumLineCoverage>0</minimumLineCoverage>
<minimumMethodCoverage>0</minimumMethodCoverage>
<minimumClassCoverage>0</minimumClassCoverage>
<maximumInstructionCoverage>0</maximumInstructionCoverage>
<maximumBranchCoverage>0</maximumBranchCoverage>
<maximumComplexityCoverage>0</maximumComplexityCoverage>
<maximumLineCoverage>0</maximumLineCoverage>
<maximumMethodCoverage>0</maximumMethodCoverage>
<maximumClassCoverage>0</maximumClassCoverage>
<changeBuildStatus>false</changeBuildStatus>
</hudson.plugins.jacoco.JacocoPublisher>
<hudson.plugins.git.GitPublisher plugin="[email protected]">
<configVersion>2</configVersion>
<pushMerge>true</pushMerge>
<pushOnlyIfSuccess>false</pushOnlyIfSuccess>
<forcePush>false</forcePush>
<branchesToPush>
<hudson.plugins.git.GitPublisher_-BranchToPush>
<targetRepoName>downstream</targetRepoName>
<branchName>master</branchName>
</hudson.plugins.git.GitPublisher_-BranchToPush>
<hudson.plugins.git.GitPublisher_-BranchToPush>
<targetRepoName>google</targetRepoName>
<branchName>master</branchName>
</hudson.plugins.git.GitPublisher_-BranchToPush>
</branchesToPush>
</hudson.plugins.git.GitPublisher>
</publishers>
<buildWrappers/>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment