Creating JavaDocs

I have an ant task that creates my javadocs.
How do I use TeamCity to publish them in the same place every time a build is run so that I have a fixed url to point people to?

3 comments
Comment actions Permalink

I tried the following in the build artifacts  but nothing happened and there was nothing in the log to suggest that anything had tried to happen.
What is wrong with this?

build/javadoc/ => /opt/app/builder/tomcat/apache-tomcat-6.0.29/webapps/application/


I am trying to copy the whole javadoc folder so it is availalable at http://1.1.1.1:8080/application/javadoc/index-all.html

0
Comment actions Permalink

Although I seem to be putting a full path in the pattern, it is still relative to the artifacts directory.
i.e. it ends up here:

/opt/app/builder/.BuildServer/system/artifacts/MyProject/MyConfig/461/opt/app/builder/tomcat/apache-tomcat-6.0.29/webapps/application/

Instead of here:

/opt/app/builder/tomcat/apache-tomcat-6.0.29/webapps/application/

Can TeamCity put artifacts outside the .BuildServer directory?

0
Comment actions Permalink

Hi

These redirection rules are not related to agent's file system, but used to organize files on TeamCity server side.

At the moment TeamCity cannot publish artifacts to external location (TW-1558).
But you can copy them as additional Ant task right within your build script.

Michael

0

Please sign in to leave a comment.