forked from avendasora/WOJenkins_Job_WOProject_Git
-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.xml
178 lines (178 loc) · 8.49 KB
/
config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
<description><p>This project will build WebObjects projects (both Frameworks and Applications) that are based on Project Wonder. 
You can specify the version of Apple WebObjects™ to use, the repository and branch for your project and the repository and branch
for Project Wonder.</p> 

<p>You can also specify you want a <b>Test Build</b> (no embedded frameworks) or a <b>Deployment Build</b> (fully 
embedded WebObjects and Project Wonder Frameworks)

<p>You can use this project as a template for your own projects, or simply specify the parameters at runtime.

<p><b>NOTE:</b> this project is meant to work in tandem with the 
<a href="https://github.com/avendasora/WOJenkins_Job_InstallWOAndWOnder">InstallWOAndWOnder</a> Jenkins job. 
That job will take care of downloading and installing WebObjects™ and cloning, building and installing Project WOnder
so that they are available for this job to use.</description>
<logRotator>
<daysToKeep>-1</daysToKeep>
<numToKeep>3</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>-1</artifactNumToKeep>
</logRotator>
<keepDependencies>false</keepDependencies>
<properties>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.StringParameterDefinition>
<name>PROJECT_NAME</name>
<description>What is the name of the WOFramework or WOApplication project in the repository that you want to build?</description>
<defaultValue>SimpleBlogLogic</defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>DEPLOYED_APPLICATION_NAME</name>
<description><b>**OPTIONAL**</b> this setting allows you to specify a different name for an Application when it is built. Technically, it overrides the value in the project's build.properties file. If you leave it blank, it will simply use the PROJECT_NAME value, which should match the name in the build.properties file.</description>
<defaultValue></defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>PROJECT_GIT_REPOSITORY</name>
<description>The Git repository that holds the project you want to build.</description>
<defaultValue>https://github.com/daveeed/SimpleBlog.git</defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>PROJECT_GIT_REFERENCE</name>
<description></description>
<defaultValue>master</defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.ChoiceParameterDefinition>
<name>BUILD_TYPE</name>
<description>Test Build will only link to frameworks (fast). Deployment will obey the Deployment settings defined in WOLips.</description>
<choices class="java.util.Arrays$ArrayList">
<a class="string-array">
<string>Test Build</string>
<string>Deployment</string>
</a>
</choices>
</hudson.model.ChoiceParameterDefinition>
<hudson.model.ChoiceParameterDefinition>
<name>WO_VERSION</name>
<description></description>
<choices class="java.util.Arrays$ArrayList">
<a class="string-array">
<string>5.4.3</string>
<string>5.3.3</string>
</a>
</choices>
</hudson.model.ChoiceParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>WONDER_GIT_REFERENCE</name>
<description>The Git branch or tag of Wonder that you want to build against. In Git terms it will be "refs/WONDER_GIT_REFERENCE_TYPE/WONDER_GIT_REFERENCE". <b>master</b> is the default, but valid options could be <b>*</b> or <b>MyBranch</b></description>
<defaultValue>master</defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.ChoiceParameterDefinition>
<name>JAVA_COMPATIBILITY_VERSION</name>
<description></description>
<choices class="java.util.Arrays$ArrayList">
<a class="string-array">
<string>1.5</string>
<string>1.6</string>
<string>1.7</string>
<string>1.4</string>
</a>
</choices>
</hudson.model.ChoiceParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
</properties>
<scm class="org.jenkinsci.plugins.multiplescms.MultiSCM">
<scms>
<hudson.plugins.git.GitSCM>
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<name>origin</name>
<refspec>+refs/heads/*:refs/remotes/origin/*</refspec>
<url>${PROJECT_GIT_REPOSITORY}</url>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>origin/${PROJECT_GIT_REFERENCE}</name>
</hudson.plugins.git.BranchSpec>
</branches>
<recursiveSubmodules>false</recursiveSubmodules>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<authorOrCommitter>false</authorOrCommitter>
<clean>false</clean>
<wipeOutWorkspace>false</wipeOutWorkspace>
<pruneBranches>false</pruneBranches>
<remotePoll>false</remotePoll>
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
<gitTool>Default</gitTool>
<submoduleCfg class="list"/>
<relativeTargetDir>Projects</relativeTargetDir>
<excludedRegions></excludedRegions>
<excludedUsers></excludedUsers>
<gitConfigName></gitConfigName>
<gitConfigEmail></gitConfigEmail>
<skipTag>false</skipTag>
<scmName>Project</scmName>
</hudson.plugins.git.GitSCM>
<hudson.plugins.git.GitSCM>
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<name>origin</name>
<refspec>+refs/heads/*:refs/remotes/origin/*</refspec>
<url>https://github.com/avendasora/WOJenkins.git</url>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>master</name>
</hudson.plugins.git.BranchSpec>
</branches>
<recursiveSubmodules>false</recursiveSubmodules>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<authorOrCommitter>false</authorOrCommitter>
<clean>false</clean>
<wipeOutWorkspace>false</wipeOutWorkspace>
<pruneBranches>false</pruneBranches>
<remotePoll>false</remotePoll>
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
<gitTool>Default</gitTool>
<submoduleCfg class="list"/>
<relativeTargetDir>WOJenkins</relativeTargetDir>
<excludedRegions></excludedRegions>
<excludedUsers></excludedUsers>
<gitConfigName></gitConfigName>
<gitConfigEmail></gitConfigEmail>
<skipTag>false</skipTag>
<scmName>WOJenkins</scmName>
</hudson.plugins.git.GitSCM>
</scms>
</scm>
<canRoam>true</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>true</blockBuildWhenUpstreamBuilding>
<triggers class="vector"/>
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>${WORKSPACE}/WOJenkins/Build/Wonder/WorkspaceSetupScripts/Git/setupWonderWorkspace.sh</command>
</hudson.tasks.Shell>
<hudson.tasks.Ant>
<targets>build -verbose -propertyfile ${WORKSPACE}/Root/hudson.build.properties -lib ${WORKSPACE}/Root/lib/woproject.jar</targets>
<buildFile>Projects/${PROJECT_NAME}/build.xml</buildFile>
<properties>Projects/${PROJECT_NAME}/</properties>
</hudson.tasks.Ant>
</builders>
<publishers>
<hudson.tasks.ArtifactArchiver>
<artifacts>**/dist/*.tar.gz</artifacts>
<latestOnly>false</latestOnly>
</hudson.tasks.ArtifactArchiver>
</publishers>
<buildWrappers/>
</project>