Last active
December 20, 2015 09:49
-
-
Save cyrille-leclerc/6111112 to your computer and use it in GitHub Desktop.
raw jenkins.xml to variabilise for Clickstart templates
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'?> | |
<maven2-moduleset plugin="[email protected]"> | |
<actions/> | |
<description></description> | |
<logRotator class="hudson.tasks.LogRotator"> | |
<daysToKeep>60</daysToKeep> | |
<numToKeep>-1</numToKeep> | |
<artifactDaysToKeep>-1</artifactDaysToKeep> | |
<artifactNumToKeep>20</artifactNumToKeep> | |
</logRotator> | |
<keepDependencies>false</keepDependencies> | |
<properties> | |
<nectar.plugins.rbac.groups.JobProxyGroupContainer plugin="[email protected]"> | |
<groups/> | |
</nectar.plugins.rbac.groups.JobProxyGroupContainer> | |
<com.cloudbees.jenkins.plugins.securecopy.ExportsJobProperty plugin="[email protected]"> | |
<exports/> | |
</com.cloudbees.jenkins.plugins.securecopy.ExportsJobProperty> | |
<com.cloudbees.jenkins.plugins.PublicKey plugin="[email protected]"/> | |
<com.cloudbees.plugins.deployer.DeployNowJobProperty plugin="[email protected]"> | |
<oneClickDeploy>false</oneClickDeploy> | |
<hosts> | |
<com.cloudbees.plugins.deployer.impl.run.RunHostImpl> | |
<targets class="java.util.Collections$UnmodifiableRandomAccessList" resolves-to="java.util.Collections$UnmodifiableList"> | |
<c class="list"> | |
<com.cloudbees.plugins.deployer.impl.run.RunTargetImpl> | |
<artifact class="com.cloudbees.plugins.deployer.sources.MavenArtifactDeploySource"> | |
<groupId>localdomain.localhost</groupId> | |
<artifactId>tomcat7-maven-clickstart</artifactId> | |
<type>war</type> | |
</artifact> | |
<applicationConfig/> | |
<apiEndPoint>https://api.cloudbees.com/api</apiEndPoint> | |
<deploymentDescription>${JOB_NAME} #${BUILD_NUMBER}</deploymentDescription> | |
</com.cloudbees.plugins.deployer.impl.run.RunTargetImpl> | |
</c> | |
<list reference="../c"/> | |
</targets> | |
<user>(jenkins)</user> | |
<account>${account}</account> | |
</com.cloudbees.plugins.deployer.impl.run.RunHostImpl> | |
<!-- | |
<com.cloudbees.plugins.deployer.impl.cloudfoundry.HostImpl plugin="[email protected]"> | |
<targets class="java.util.Collections$UnmodifiableRandomAccessList" resolves-to="java.util.Collections$UnmodifiableList"> | |
<c class="list"> | |
<com.cloudbees.plugins.deployer.impl.cloudfoundry.TargetImpl> | |
<artifact class="com.cloudbees.plugins.deployer.sources.MavenArtifactDeploySource" plugin="[email protected]"> | |
<groupId>localdomain.localhost</groupId> | |
<artifactId>tomcat7-maven-clickstart</artifactId> | |
<type>war</type> | |
</artifact> | |
<url></url> | |
<runtime></runtime> | |
<name></name> | |
<memory>512</memory> | |
<instances>1</instances> | |
<framework></framework> | |
<command></command> | |
<start>true</start> | |
<environmentVariables/> | |
<services/> | |
</com.cloudbees.plugins.deployer.impl.cloudfoundry.TargetImpl> | |
</c> | |
<list reference="../c"/> | |
</targets> | |
<user>[email protected]</user> | |
<cloud>https://api.cloudfoundry.com</cloud> | |
</com.cloudbees.plugins.deployer.impl.cloudfoundry.HostImpl> | |
--> | |
</hosts> | |
</com.cloudbees.plugins.deployer.DeployNowJobProperty> | |
</properties> | |
<scm class="hudson.plugins.git.GitSCM" plugin="[email protected]"> | |
<configVersion>2</configVersion> | |
<userRemoteConfigs> | |
<hudson.plugins.git.UserRemoteConfig> | |
<name></name> | |
<refspec></refspec> | |
<!-- | |
TODO | |
<url>ssh://[email protected]/cyrille-leclerc/t0.git</url> | |
--> | |
<url>${repositoryUrl}</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> | |
<jdk>(Default)</jdk> | |
<triggers class="vector"> | |
<com.cloudbees.jenkins.forge.ForgePushTrigger plugin="[email protected]"> | |
<spec></spec> | |
</com.cloudbees.jenkins.forge.ForgePushTrigger> | |
</triggers> | |
<concurrentBuild>false</concurrentBuild> | |
<rootModule> | |
<groupId>localdomain.localhost</groupId> | |
<artifactId>tomcat7-maven-clickstart</artifactId> | |
</rootModule> | |
<goals>clean package</goals> | |
<aggregatorStyleBuild>true</aggregatorStyleBuild> | |
<incrementalBuild>false</incrementalBuild> | |
<perModuleEmail>true</perModuleEmail> | |
<ignoreUpstremChanges>false</ignoreUpstremChanges> | |
<archivingDisabled>false</archivingDisabled> | |
<resolveDependencies>false</resolveDependencies> | |
<processPlugins>false</processPlugins> | |
<mavenValidationLevel>-1</mavenValidationLevel> | |
<runHeadless>false</runHeadless> | |
<disableTriggerDownstreamProjects>false</disableTriggerDownstreamProjects> | |
<settings class="jenkins.mvn.DefaultSettingsProvider"/> | |
<globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/> | |
<reporters/> | |
<publishers> | |
<com.cloudbees.plugins.deployer.DeployPublisher plugin="[email protected]"> | |
<deployIfUnstable>false</deployIfUnstable> | |
<hosts> | |
<com.cloudbees.plugins.deployer.impl.run.RunHostImpl> | |
<targets class="java.util.Collections$UnmodifiableRandomAccessList" resolves-to="java.util.Collections$UnmodifiableList"> | |
<c class="list"> | |
<com.cloudbees.plugins.deployer.impl.run.RunTargetImpl> | |
<artifact class="com.cloudbees.plugins.deployer.sources.MavenArtifactDeploySource"> | |
<groupId>localdomain.localhost</groupId> | |
<artifactId>tomcat7-maven-clickstart</artifactId> | |
<type>war</type> | |
</artifact> | |
<applicationId>${applicationName}</applicationId> | |
<applicationConfig/> | |
<apiEndPoint>https://api.cloudbees.com/api</apiEndPoint> | |
<deploymentDescription>${JOB_NAME} #${BUILD_NUMBER}</deploymentDescription> | |
</com.cloudbees.plugins.deployer.impl.run.RunTargetImpl> | |
</c> | |
<list reference="../c"/> | |
</targets> | |
<user>(jenkins)</user> | |
<!-- | |
TODO | |
<account>cyrille-leclerc</account> | |
--> | |
<account>${account}</account> | |
</com.cloudbees.plugins.deployer.impl.run.RunHostImpl> | |
</hosts> | |
</com.cloudbees.plugins.deployer.DeployPublisher> | |
</publishers> | |
<buildWrappers/> | |
<prebuilders/> | |
<postbuilders/> | |
<runPostStepsIfResult> | |
<name>FAILURE</name> | |
<ordinal>2</ordinal> | |
<color>RED</color> | |
</runPostStepsIfResult> | |
</maven2-moduleset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment