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="maven-plugin@1.509.2.5"> | |
<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="nectar-rbac@3.9"> | |
<groups/> | |
</nectar.plugins.rbac.groups.JobProxyGroupContainer> | |
<com.cloudbees.jenkins.plugins.securecopy.ExportsJobProperty plugin="cloudbees-secure-copy@3.2"> | |
<exports/> | |
</com.cloudbees.jenkins.plugins.securecopy.ExportsJobProperty> | |
<com.cloudbees.jenkins.plugins.PublicKey plugin="cloudbees-public-key@1.1"/> | |
<com.cloudbees.plugins.deployer.DeployNowJobProperty plugin="cloudbees-deployer-plugin@4.8"> | |
<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="cloudfoundry-deploy-engine@1.7"> | |
<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="cloudbees-deployer-plugin@4.8"> | |
<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>cleclerc@cloudbees.com</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="git@1.4.0"> | |
<configVersion>2</configVersion> | |
<userRemoteConfigs> | |
<hudson.plugins.git.UserRemoteConfig> | |
<name></name> | |
<refspec></refspec> | |
<!-- | |
TODO | |
<url>ssh://git@git.cloudbees.com/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="cloudbees-forge-plugin@1.5"> | |
<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="cloudbees-deployer-plugin@4.8"> | |
<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