-
-
Save hagzag/cfe6f2d47d37249aed91 to your computer and use it in GitHub Desktop.
Job Generator config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<project> | |
<actions/> | |
<description></description> | |
<keepDependencies>false</keepDependencies> | |
<properties> | |
<hudson.model.ParametersDefinitionProperty> | |
<parameterDefinitions> | |
<hudson.model.StringParameterDefinition> | |
<name>template_job</name> | |
<description></description> | |
<defaultValue>Project.template</defaultValue> | |
</hudson.model.StringParameterDefinition> | |
<hudson.model.StringParameterDefinition> | |
<name>new_job_name</name> | |
<description></description> | |
<defaultValue></defaultValue> | |
</hudson.model.StringParameterDefinition> | |
<hudson.model.StringParameterDefinition> | |
<name>scm_url</name> | |
<description></description> | |
<defaultValue></defaultValue> | |
</hudson.model.StringParameterDefinition> | |
</parameterDefinitions> | |
</hudson.model.ParametersDefinitionProperty> | |
</properties> | |
<scm class="hudson.scm.SubversionSCM" plugin="subversion@1.50"> | |
<locations> | |
<hudson.scm.SubversionSCM_-ModuleLocation> | |
<remote>file:///var/lib/jenkins/svnrepo/cm</remote> | |
<local>.</local> | |
<depthOption>infinity</depthOption> | |
<ignoreExternalsOption>false</ignoreExternalsOption> | |
</hudson.scm.SubversionSCM_-ModuleLocation> | |
</locations> | |
<excludedRegions></excludedRegions> | |
<includedRegions></includedRegions> | |
<excludedUsers></excludedUsers> | |
<excludedRevprop></excludedRevprop> | |
<excludedCommitMessages></excludedCommitMessages> | |
<workspaceUpdater class="hudson.scm.subversion.UpdateUpdater"/> | |
<ignoreDirPropChanges>false</ignoreDirPropChanges> | |
<filterChangelog>false</filterChangelog> | |
</scm> | |
<canRoam>true</canRoam> | |
<disabled>false</disabled> | |
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> | |
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> | |
<triggers class="vector"/> | |
<concurrentBuild>false</concurrentBuild> | |
<builders> | |
<hudson.tasks.Shell> | |
<command>JobGen.sh "${template_job}" "${new_job_name}" "${scm_url}"</command> | |
</hudson.tasks.Shell> | |
</builders> | |
<publishers/> | |
<buildWrappers/> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to do this using Mercurial plugin and not subversion?