-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathconfig.xml
145 lines (145 loc) · 7.61 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
<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
<description><p>This job automatically prepares a Jenkins build server to be able to build WebObjects projects by cloning the 
WOJenkins build scripts into this job's <a target="_new" href="ws/WOJenkins">workspace</a> and then uses them 
to do the following:</p>
<h3>Apple WebObjects™</h3>
<ol>
<li>Downloads <a target="_new" href="http://webobjects.mdimension.com/wolips/">WOInstaller.jar</a> 
from MDimension.</li>
<li>Downloads WebObjects 5.3.3 or 5.4.3 from Apple</li>
<li>Installs WebObjects frameworks in <code>${JENKINS_HOME}/WOFrameworksRepository/WebObjects</code></li>
<li>Downloads the current 
<a target="_new" href="http://webobjects.mdimension.com/hudson/job/WOLips37Current/lastSuccessfulBuild/artifact/">
woproject.jar</a> from WOLips build server and installs it in <code>${JENKINS_HOME}/WOFrameworksRepository/WOProject</code> 
(needed for building any WebObjects application with Ant)</li>
</ol>
<h3>Project WOnder</h3>
<ol>
<li>Clones/Pulls the Project WOnder Git repository into <code>${JENKINS_HOME}/WOFrameworksRepository/ProjectWOnder/</code>
so it can be used by all Wonder builds.</li>
<li>Clones/Pulls the specified branch of WOnder into this job's <a target="_new" href="ws/Wonder">workspace</a>. 
(By cloning again, multiple jobs can be building different versions of WOnder simultaneously.)</li>
<li>Builds and installs WOnder into the <code>${JENKINS_HOME}/WOFrameworksRepository/ProjectWOnder</code> directory based on the 
selected <code>BUILD_TARGETS</code>.</li>
</ol>

<h4>NOTE:</h4>
<p>You should change the repository locations in this Job's <a target="_new" href="configure">configuration</a> for both 
Project WOnder and the WOJenkins to point to your own clones of each. You can run this job as-is, but both Project WOnder and
WOJenkins change regularly and you run the risk of this job breaking if you aren't using your own repositories.</p></description>
<keepDependencies>false</keepDependencies>
<properties>
<hudson.plugins.googlecode.GoogleCodeProjectProperty plugin="[email protected]"/>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.ChoiceParameterDefinition>
<name>WO_VERSION</name>
<description>The version of WebObjects to build against or embed in your project.</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_BRANCH</name>
<description>The branch of Wonder that you want to build. The default is <b>master</b> but it could set to <b>MyBranch</b> instead.</description>
<defaultValue>master</defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.ChoiceParameterDefinition>
<name>BUILD_TARGETS</name>
<description>Which Wonder build target do you want to run. For most projects the default <b>frameworks frameworks.install</b> is what you want.</description>
<choices class="java.util.Arrays$ArrayList">
<a class="string-array">
<string>frameworks frameworks.install</string>
<string>all</string>
<string>applications applications.install</string>
<string>examples examples.install</string>
</a>
</choices>
</hudson.model.ChoiceParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
</properties>
<scm class="org.jenkinsci.plugins.multiplescms.MultiSCM" plugin="[email protected]">
<scms>
<hudson.plugins.git.GitSCM plugin="[email protected]">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<name>origin</name>
<refspec>+refs/heads/${WONDER_BRANCH}:refs/remotes/origin/${WONDER_BRANCH}</refspec>
<url>https://github.com/projectwonder/wonder.git</url>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>origin/${WONDER_BRANCH}</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<submoduleCfg class="list"/>
<extensions>
<hudson.plugins.git.extensions.impl.SubmoduleOption>
<disableSubmodules>false</disableSubmodules>
<recursiveSubmodules>false</recursiveSubmodules>
<trackingSubmodules>false</trackingSubmodules>
</hudson.plugins.git.extensions.impl.SubmoduleOption>
<hudson.plugins.git.extensions.impl.ScmName>
<name>Wonder</name>
</hudson.plugins.git.extensions.impl.ScmName>
<hudson.plugins.git.extensions.impl.RelativeTargetDirectory>
<relativeTargetDir>Wonder</relativeTargetDir>
</hudson.plugins.git.extensions.impl.RelativeTargetDirectory>
</extensions>
</hudson.plugins.git.GitSCM>
<hudson.plugins.git.GitSCM plugin="[email protected]">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>https://github.com/avendasora/WOJenkins.git</url>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>**</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<submoduleCfg class="list"/>
<extensions>
<hudson.plugins.git.extensions.impl.RelativeTargetDirectory>
<relativeTargetDir>WOJenkins</relativeTargetDir>
</hudson.plugins.git.extensions.impl.RelativeTargetDirectory>
</extensions>
</hudson.plugins.git.GitSCM>
</scms>
</scm>
<canRoam>true</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers>
<hudson.triggers.SCMTrigger>
<spec># Every Hour, On the Hour.
H */1 * * *</spec>
<ignorePostCommitHooks>false</ignorePostCommitHooks>
</hudson.triggers.SCMTrigger>
</triggers>
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>${WORKSPACE}/WOJenkins/Install/WebObjects/installWebObjects.sh
${WORKSPACE}/WOJenkins/Build/Wonder/WorkspaceSetupScripts/Git/setupWonderWorkspace.sh</command>
</hudson.tasks.Shell>
<hudson.tasks.Ant plugin="[email protected]">
<targets>${BUILD_TARGETS} -propertyfile ${WORKSPACE}/Root/jenkins.build.properties</targets>
<antName>Ant 1.9.4</antName>
<buildFile>${WORKSPACE}/Wonder/build.xml</buildFile>
</hudson.tasks.Ant>
</builders>
<buildWrappers/>
</project>