Artifacts link not showing up in Dashboard

156 views
Skip to first unread message

ecoagora

unread,
Apr 30, 2008, 1:35:25 PM4/30/08
to ccnet-user
I have been searching for a solution to this issue for a while now.
There was one answer in this discussion group, but it is not viable
since it was suggesting hacking things in order to bypass using the
artifacts folders.

I just need to know what configuration item I am missing to get the
Artifact folders to show up with each successful build for a project.
I am new to CruiseControl.Net, but am an experienced user of
CruiseControl (where there was no special configuration required to
get this to work).

Thanks!

Sagar

unread,
May 5, 2008, 4:03:47 AM5/5/08
to ccnet-user
HI,
Do you have any luck so far on this? I'm facing the same issue. i.e.
getting the "The page cannot be found" error when the project link is
clicked to view the Project Report. But the artifact directory is
building up with the logs and the right information. Just that the
browser is not showing it up.

Please share with me incase you solved this.

Regards,
Sagar

Ruben Willems

unread,
May 5, 2008, 4:56:17 AM5/5/08
to ccnet...@googlegroups.com
Hi

Where do you want to display the Artifacts folder?
in the Project Report?
in a certain build report?


with kind regards
Ruben Willems

Sagar

unread,
May 5, 2008, 5:42:39 AM5/5/08
to ccnet-user
Hi,
Thanks for the quick response. I wanted a default dashboard response
when a project is clicked. The /buildlogs folder is getting created
and populated with xml files successfully on every build initiated by
CCNet. But the same information is not getting displayed in the
dashboard (am using IE 6.0 SP2).

The hyperlink on the project takes to the following location which is
correct in notation according to the symantics of <weburl>.
http://localhost/ccnet/server/CMS601-ClientProxies/project/Cms.EF.Client.Proxy.ActionPlanProxy.csproj/ViewProjectReport.aspx
Still, the above location gives a 404: page not found error.

Details that might be of interest to you: Running CCNet as service
with Servername being CMS601-ClientProxies with a port to 30000

My Hierachy is something like this:

-Server6.0.1 (E:\BuildServer\Server6.0.1)
--ClientProxies (Service1: ccnet.config has entries to 3 projects
with each project has its own artifact folder)
----builds
----Cms.EF.Client.Proxy.ActionPlanProxy.csproj
-----buildlogs
----Project2
----Project3

--FormFunctions (Service2:ccnet.config has entries to 5 projects
with each project has its own artifact folder)
----builds ...
--ServerFunctions (Service3:ccnet.config has entries to 13
projects with each project has its own artifact folder)
----builds ...
--MiddleTierFunctions (Service4:ccnet.config has entries to 13
projects with each project has its own artifact folder)
----builds ...
-ServerTest6.0.1 (E:\BuildServer\ServerTest6.0.1)

None of the projects defined in the respective config files under
Server6.0.1 are showing up the Project Report when the project
hyperlink is clicked.

Strangely, the projects defined under ServerTest6.0.1shows the project
report.

I have made sure that ccnet config is defined properly. cleared the
cache, restarted ccnetservice, IIS server.

Is it something do with the security?

Your comments would be a great help!
> >> Thanks!- Hide quoted text -
>
> - Show quoted text -

Ruben Willems

unread,
May 5, 2008, 6:19:45 AM5/5/08
to ccnet...@googlegroups.com
Hi

My URL looks like
http://IntegrationServer/ccnet/server/local/project/DeleteLocalSourceCode/ViewProjectReport.aspx

yours
http://localhost/ccnet/server/CMS601-ClientProxies/project/Cms.EF.Client.Proxy.ActionPlanProxy.csproj/ViewProjectReport.aspx

A few questions :
° Are you running IIS on your PC for viewing the dashboard
--> from the URL I see that a PC named CMS601-ClientProxies is the
buildserver, but your PC is hosting the dashboard ?
° can you post a project from CCNET config that is not working (you
may eliminate userids and passwords from the config)


with kind regards
Ruben Willems

Sagar

unread,
May 5, 2008, 6:34:57 AM5/5/08
to ccnet-user
Sure. Here are my comments:

Are you running IIS on your PC for viewing the dashboard
<Sagar> Yes. IIS is enabled. I have cctray too. but the fate is
same.
--> from the URL I see that a PC named CMS601-ClientProxies is the
buildserver, but your PC is hosting the dashboard ?
<Sagar> CMS601-ClientProxies is the named reference to CCNet Service.
This is what goes into the dashboard.config.

° can you post a project from CCNET config that is not working (you
may eliminate userids and passwords from the config)
<Sagar> this is the sample config file (ccnet.config)
--------------------------------------------------------------------------------------------------------------------------------------------------------
<cruisecontrol>
<project name="Cms.EF.Client.Proxy.ActionPlanProxy.csproj"
queue="MainQueue">
<workingDirectory>E:\SeapineWorkingFolder\CMS6.0.1\ClientTasks
\ProxyClientTask\ActionPlanProxy\</workingDirectory>
<artifactDirectory>E:\BuildServer\CMS6.0.1\ClientProxies\builds
\Cms.EF.Client.Proxy.ActionPlanProxy.csproj\</artifactDirectory>
<modificationDelaySeconds>0</modificationDelaySeconds>
<webURL>http://bancmsdbserver/ccnet/server/CMS601-ClientProxies/
ViewServerReport.aspx</webURL> <triggers/> <!-- comment this if you
stop force build requests -->

<prebuild>
<exec>
<executable>E:\BuildServer\CMS6.0.1\ServiceTasks
\DeleteWorkingDirectory.bat</executable>
<buildArgs />
</exec>
</prebuild>
<sourcecontrol type="surround">
<executable>C:\Program Files\Seapine\Surround SCM\sscm.exe</
executable>
<serverconnect>server:ABCD</serverconnect>
<serverlogin>user:pwd</serverlogin>
<branch>CMS601</branch>
<repository>"Repository Address"</repository>
<workingDirectory>E:\SeapineWorkingFolder\CMS6.0.1\ServerTasks
\ServiceTasks\TimeTracking</workingDirectory>
<recursive>1</recursive>
<file>*</file>
<searchregexp>0</searchregexp>
</sourcecontrol>

<labeller type="defaultlabeller">
<prefix>6.0.1.</prefix>
<incrementOnFailure>true</incrementOnFailure>
</labeller>

<tasks>
<exec>
<executable>E:\BuildServer\CMS6.0.1\ServiceTasks
\UpdateAssemblyVersion.bat</executable>
<buildArgs>E:\SeapineWorkingFolder\CMS6.0.1\ServerTasks
\ServiceTasks\TimeTracking</buildArgs>
</exec>
<msbuild>
<executable>C:\WINDOWS\Microsoft.NET\Framework
\v3.5\MSBuild.exe</executable>
<workingDirectory/>
<projectFile>E:\SeapineWorkingFolder\CMS6.0.1\ServerTasks
\ServiceTasks\TimeTracking
\Cms.EF.Server.ServiceTasks.TimeTracking.csproj</projectFile>
<buildArgs>/noconsolelogger /v:diag /
p:Configuration=BuildServer;AssemblyReferencePath=E:\BuildServer
\CMS6.0.1\LatestReferences\</buildArgs>
<targets>Build</targets>
<timeout>900</timeout>
<logger>ThoughtWorks.CruiseControl.MsBuild.XmlLogger,E:
\BuildServer\CMS6.0.1\ServiceTasks
\ThoughtWorks.CruiseControl.MsBuild.dll</logger>
</msbuild>
<exec>
<executable>E:\BuildServer\CMS6.0.1\ServiceTasks
\CopyToLatest.bat</executable>
<buildArgs />
</exec>
</tasks>
<publishers>
<merge>
<files>
<file>E:\BuildServer\CMS6.0.1\ServiceTasks\builds
\Cms.EF.Server.ServiceTasks.TimeTracking.csproj\*-results.xml</
file>
</files>
</merge>
<xmllogger logDir="E:\BuildServer\CMS6.0.1\ServiceTasks\builds
\Cms.EF.Server.ServiceTasks.TimeTracking.csproj\buildlogs"/>
<statistics />
</publishers>
<externalLinks>
<externalLink name="IIS Root Web on Localhost" url="http://
localhost/" />
<externalLink name="Google" url="http://www.google.com/search?
hl=en&amp;lr=&amp;q=%22CruiseControl.NET%22&amp;btnG=Search" />
</externalLinks>
</project>
</cruisecontrol>
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Dashboard config goes like this:
<server name="CMS601-ClientProxies" url="tcp://localhost:30000/
CruiseManager.rem" allowForceBuild="true" allowStartStopBuild="true" /
>
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Registered as a Service like this:
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe" /
ServiceName="CCServiceCMS601ClientProxies" "%~dp0ccservice.exe"
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ccservice.exe.config goes like this:
...
<channel ref="tcp" port="30000">
...
<add key="service.name" value="CCServiceCMS601ClientProxies"/>
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

On May 5, 3:19 pm, "Ruben Willems" <ruben.will...@gmail.com> wrote:
> Hi
>
> My URL looks likehttp://IntegrationServer/ccnet/server/local/project/DeleteLocalSource...
>
> yourshttp://localhost/ccnet/server/CMS601-ClientProxies/project/Cms.EF.Cli...
>
> A few questions :
> ° Are you running IIS on your PC for viewing the dashboard
>    --> from the URL I see that a PC named CMS601-ClientProxies is the
> buildserver, but your PC is hosting the dashboard ?
> ° can you post a project from CCNET config that is not working (you
> may eliminate userids and passwords from the config)
>
> with kind regards
> Ruben Willems
>
>
>
> On Mon, May 5, 2008 at 11:42 AM, Sagar <vis...@gmail.com> wrote:
>
> > Hi,
> > Thanks for the quick response. I wanted a default dashboard response
> > when a project is clicked. The /buildlogs folder is getting created
> > and populated with xml files successfully on every build initiated by
> > CCNet. But the same information is not getting displayed in the
> > dashboard (am using IE 6.0 SP2).
>
> > The hyperlink on the project takes to the following location which is
> > correct in notation according to the symantics of <weburl>.
> >http://localhost/ccnet/server/CMS601-ClientProxies/project/Cms.EF.Cli...
> >> - Show quoted text -- Hide quoted text -

Ruben Willems

unread,
May 5, 2008, 6:52:48 AM5/5/08
to ccnet...@googlegroups.com
Hi
So your PC :
° does the building
° acts as a portal (hosts the dashboard)

do you see anything in the eventlog that is odd, because this
configuration looks ok (as far as i can see).


with kind regards
Ruben Willems

Sagar

unread,
May 5, 2008, 7:01:04 AM5/5/08
to ccnet-user
Yes. Everything is installed one one machine. Unfortunately, i cound;t
find anything in the eventviewer. Do you have any idea how i can set
up the tracing for web requests?I see the CCNet using the Log4Net for
tracing.

Thanks very much for quick responses. :)

Regards,
Sagar

Ruben Willems

unread,
May 5, 2008, 7:07:35 AM5/5/08
to ccnet...@googlegroups.com
Hi

as far as I remember the code,
when you set the loggin to DEBUG, you will see all items that are logged.
But I do not remember anything that does the web request logging.
For the moment all logging is more Build oriented
--> start and stop of project, communication to sourcecontrol, build
commands and the like.
Not the internal flow, sorry

But be sure to try it, maybe I'm mistaken.


with kind regards
Ruben Willems

Sagar

unread,
May 7, 2008, 7:48:08 AM5/7/08
to ccnet-user
Hi Ruben,

I'm partially successful in fixing this issue. The issue is nothing to
do with CC setup. This is because of the IIS. The project name that i
set has many dots (.) and certain IIS 6.0 configurations donot allow
the URL having dots to be processed in view of security. Removing the
dots in my project name did show the ViewProjectReport.aspx. I have
found the answer to this at Thought works communit site and can be
accessed from http://jira.public.thoughtworks.org/browse/CCNET-988
> > Sagar- Hide quoted text -

Ruben Willems

unread,
May 7, 2008, 8:16:54 AM5/7/08
to ccnet...@googlegroups.com
Hi

Good to know that there is a solution!
Thanks for letting me know.

maybe CCNet should filter those illegal characters out or so,
preventing it from causing errors.

with kind regards
Ruben Willems

ecoagora.com

unread,
May 20, 2008, 12:46:08 PM5/20/08
to ccnet-user
On May 5, 1:56 am, "Ruben Willems" <ruben.will...@gmail.com> wrote:
> Hi
>
> Where do you want to display theArtifactsfolder?
> in the Project Report?
> in a certain build report?
So much for getting email for updates to my posts...
I know this was a while back. I stepped away from my build for a
while.

Anyways, I was looking for putting this in a specific build report. It
doesn't seem like you have used CruiseControl, but for anyone that
has: I am looking for the same Build Artifacts link that is on the
Build Results page there.

This must be a configuration issue for me since I do not get any
errors that I can see in my Events Viewer.

bentsai

unread,
Jun 27, 2008, 2:10:36 PM6/27/08
to ccnet-user
I think I have the same question as the OP, but I'll restate it. I
would like to have a link on my build reports for the files in my
build artifacts directory. In particular, I would like to have a
download link for the statistics.csv that the statistics publisher
generates.

From reading this thread and looking at the documentation, it doesn't
seem like there is an easy way to do this (whereas it sounds like for
CruiseControl (java) it is built in).

Is there a way to include a link to the build artifacts folder
somewhere on the dashboard?

Thanks, Ben

On May 20, 12:46 pm, "ecoagora.com" <dawg1...@gmail.com> wrote:
> On May 5, 1:56 am, "Ruben Willems" <ruben.will...@gmail.com> wrote:> Hi
>
> > Where do you want to display theArtifactsfolder?
> > in the Project Report?
> > in a certain build report?
>
> So much for getting email for updates to my posts...
> I know this was a while back. I stepped away from my build for a
> while.
>
> Anyways, I was looking for putting this in a specific build report. It
> doesn't seem like you have used CruiseControl, but for anyone that
> has: I am looking for the same Build Artifactslinkthat is on the

Ruben Willems

unread,
Jun 28, 2008, 7:15:26 AM6/28/08
to ccnet...@googlegroups.com
Hi

there is no built in way to my knowledge,
but maybe it's possible to use the following, (it's a bit of a hack/trick)

in the pre-build or the tasks section, start a batch file
that contains something like this
echo CCNet_Artifact_Folder:% CCNetArtifactDirectory%

this will make sure that it is placed in the build log ,
know it should be possible to get it via xsl and show it in one of the reports


with kind regards
Ruben Willems



Reply all
Reply to author
Forward
0 new messages