-
Notifications
You must be signed in to change notification settings - Fork 150
/
bettercms.nugetorg.ccnet
261 lines (220 loc) · 14.1 KB
/
bettercms.nugetorg.ccnet
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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
<project>
<parameters>
<textParameter>
<name>CmsBranch</name>
<display>Source code branch</display>
<required>true</required>
<default>master</default>
<minimum>2</minimum>
</textParameter>
<textParameter>
<name>CmsVersion</name>
<display>3 digits version to apply (ex. 1.0.5) or default 1.0.0</display>
<description>A version to use for the BetterCMS release tagging.</description>
<required>true</required>
<default>1.0.0</default>
<minimum>5</minimum>
<maximum>11</maximum>
</textParameter>
<selectParameter>
<name>CmsMilestone</name>
<display>Milestone</display>
<allowedValues>
<value name="None"></value>
<value name="Alpha">-alpha</value>
<value name="Beta">-beta</value>
<value name="RC">-rc</value>
</allowedValues>
<default>None</default>
</selectParameter>
<textParameter>
<name>CmsMilestoneCounter</name>
<display>Milestone Counter</display>
<default></default>
<required>false</required>
</textParameter>
</parameters>
<name>BetterCMS (nuget.org)</name>
<category>BetterCMS</category>
<workingDirectory>$(buildsFolder)\BetterCMS_NUGETORG\Code</workingDirectory>
<artifactDirectory>$(buildsFolder)\BetterCMS_NUGETORG\Artifact</artifactDirectory>
<webURL>$(ccnetUrl)/server/local/project/BetterCMS%20%28nuget.org%29/ViewProjectReport.aspx</webURL>
<modificationDelaySeconds>30</modificationDelaySeconds>
<labeller type="defaultlabeller">
<initialBuildLabel>0</initialBuildLabel>
<prefix>$[CmsVersion].</prefix>
<incrementOnFailure>false</incrementOnFailure>
<labelFormat>0</labelFormat>
</labeller>
<cb:define CmsBuildTagName="$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter]" />
<cb:define CmsBuildTagMessage="Tagging build with a $[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter] version." />
<sourcecontrol type="git">
<repository>[email protected]:devbridge/BetterCMS.git</repository>
<branch>$[CmsBranch]</branch>
<autoGetSource>true</autoGetSource>
<fetchSubmodules>true</fetchSubmodules>
<executable>$(gitPath)</executable>
<tagOnSuccess>true</tagOnSuccess>
<commitBuildModifications>false</commitBuildModifications>
<commitUntrackedFiles>false</commitUntrackedFiles>
<workingDirectory>$(buildsFolder)\BetterCMS_NUGETORG\Code</workingDirectory>
<tagCommitMessage>$(CmsBuildTagMessage)</tagCommitMessage>
<tagNameFormat>$(CmsBuildTagName)</tagNameFormat>
<timeout>60000</timeout>
</sourcecontrol>
<triggers>
<!-- BUILD STARTS MANUALY! -->
</triggers>
<tasks>
<exec description="Update assembly info file with build version.">
<executable>$(ccnetextensionsConsole)</executable>
<buildArgs>UpdateAssemblyInfo $(buildsFolder)\BetterCMS_NUGETORG\Code\SharedAssemblyInfo.cs $[$CCNetLabel] $[$CCNetLabel] $[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter]</buildArgs>
<buildTimeoutSeconds>300</buildTimeoutSeconds>
</exec>
<exec description="Build BetterCMS solution.">
<executable>$(msbuild4Path)</executable>
<buildArgs>$(buildsFolder)\BetterCMS_NUGETORG\Code\BetterCMS.sln /nologo /t:Rebuild /p:Configuration=Release</buildArgs>
<buildTimeoutSeconds>300</buildTimeoutSeconds>
</exec>
<exec description="Run BetterCms.Core.Tests tests.">
<executable>$(nunitConsole)</executable>
<buildArgs>$(buildsFolder)\BetterCMS_NUGETORG\Code\Tests\BetterCms.Core.Tests\bin\Release\BetterCms.Core.Tests.dll /xml:$(buildsFolder)\BetterCMS_NUGETORG\Artifact\BetterCms.Core.Tests-Results.xml</buildArgs>
</exec>
<exec description="Publish BetterCms resources to Amazon S3 CDN enabled cloud.">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Tools\AmazonS3\s3</executable>
<buildArgs>put bettercms/$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter]/ $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\resources\*.* /sub /acl:public-read /cacheControl:public,max-age=31536000 /noGui /toLower</buildArgs>
<buildTimeoutSeconds>900</buildTimeoutSeconds>
<successExitCodes>0</successExitCodes>
</exec>
<exec description="Publish BetterCms.Core to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Core.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.Root to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.Root.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>1200</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.MediaManager to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.MediaManager.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>900</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.Pages to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.Pages.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>900</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.Blog to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.Blog.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.Installation to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.Installation.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCMS to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCMS.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.AmazonS3Storage to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.AmazonS3Storage.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.WindowsAzureStorage to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.WindowsAzureStorage.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.Newsletter to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.Newsletter.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.AppFabricCache to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.AppFabricCache.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.Api.Abstractions to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.Api.Abstractions.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.Api.Web to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.Api.Web.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.Api to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.Api.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.Users to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.Users.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.Users.Api to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.Users.Api.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.ImagesGallery to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.ImagesGallery.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>900</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.Search to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.Search.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.LuceneSearch to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.LuceneSearch.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.GoogleSiteSearch to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.GoogleSiteSearch.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.Search.Api to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.Search.Api.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.GoogleAnalytics to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.GoogleAnalytics.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Publish BetterCms.Module.OpenGraphIntegration to NuGet.org">
<executable>$(buildsFolder)\BetterCMS_NUGETORG\Code\.nuget\nuget</executable>
<buildArgs>push $(buildsFolder)\BetterCMS_NUGETORG\Code\Build\BetterCms.NugetPackage\bin\Release\BetterCms.Module.OpenGraphIntegration.$[CmsVersion]$[CmsMilestone]$[CmsMilestoneCounter].nupkg</buildArgs>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</exec>
<exec description="Clean up project.">
<executable>$(msbuild4Path)</executable>
<buildArgs>$(buildsFolder)\BetterCMS_NUGETORG\Code\BetterCms.sln /nologo /t:Clean</buildArgs>
<buildTimeoutSeconds>300</buildTimeoutSeconds>
</exec>
</tasks>
<publishers>
<merge>
<files>
<file>$(buildsFolder)\BetterCMS_NUGETORG\Artifact\*-results.xml</file>
</files>
</merge>
<xmllogger />
<statistics />
<modificationHistory onlyLogWhenChangesFound="true" />
</publishers>
</project>