Specifying artifacts with ipr runner

How do I specify artifacts with an ipr build runner? I can't see the
"Artifact paths" field anywhere in the UI.
R

5 comments
Comment actions Permalink

Is it not possible? I'm specifically interested in having a page with
test results.
R

0
Comment actions Permalink

Robert Gibson wrote:

Is it not possible? I'm specifically interested in having a page with
test results.


TeamCity provides a page with test results, there is no need to use some
artifacts for that. Just click the link with build results.
By default, IPR runner looks for tests using *Test.java pattern.

Regards,
KIR



--
Kirill Maximov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

OK I thought maybe I could get access to a separate page with the
breakdown of the test results (instead of just "Tests passed"). Never mind.

Now I have another question - I am running a build with the Ant runner
where the output is written to /results/${build.number}. How do I
specify this in the build definition? If I put /results I get the
listing of the /results directory. If I put /results/${build.number} I
get a log message "WARN ... Artifacts path ... not found". Is it not
possible to get access to the artifacts for previous builds (as it is
for the Results tab)?

Thanks,
R

0
Comment actions Permalink

Robert Gibson wrote:

OK I thought maybe I could get access to a separate page with the
breakdown of the test results (instead of just "Tests passed"). Never mind.

Now I have another question - I am running a build with the Ant runner
where the output is written to /results/${build.number}. How do I
specify this in the build definition? If I put /results I get the
listing of the /results directory. If I put /results/${build.number} I
get a log message "WARN ... Artifacts path ... not found". Is it not
possible to get access to the artifacts for previous builds (as it is
for the Results tab)?


Builds are built by agents. When build is finished, its artifacts are
uploaded to the server and available for download.

Next builds can possibly be run on another computer, so they don't have
access to the artifacts of the previous builds.

To build an url for artefacts download, please take a look for FAQ section
"Linking to last finished and last successful builds"

Please note, that in url you can use buildNumber=xxx in the url instead of
buildId=xxx .

FAQ: http://www.jetbrains.net/confluence/display/TW/TeamCity+FAQ

Hope this helps,
KIR

--
Kirill Maximov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Yes that helps a lot, thank you.
R

0

Please sign in to leave a comment.