We are currently using TeamCity 5.1 and I have setup our project to build with 2 configurations.
1 project is building all the business logic and executing unit tests (NUnit) and the second project is building all the web projects together with the functional tests (Selenium).
Now the first project is generating artifacts that I would like to use in my 2nd project as a dependency.
So I checked the path of the artifact produced by the 1 build configuration:
And used the built-in aliases to access the last successful artifact to by-pass having to know the number:
So far so good, but after a new build those numbers will change ofcourse. I tried accessing that file using some wildcards:
But nothing is returned. The build only produces 1 artifact and I just want that one to be available in my dependency and it's pissing me off why I cannot simply say: Hey theres an artifact in that directory, just get me it, regardless of its name, or just use a wildcard to access the file. I also looked at using the VCS properties but even if I somehow get the revision number back it still won't give me the 3.0.9 part, and then I still can't access the file name.
It's also very possible that I am going about this the wrong way but for me I am hitting a road block here to use the artifact dependency.
I also tried using downloadAll instead of download and omitting the 7z part, but that produces a zip file where the 7z is contained. But that doesn't help me much since I need the 7z itself.
Anyway even if this is a big user error situation or I simply mis-interpreted the situation I hope if any answer is produced other people will benefit from hitting a similar road block. Thanks everyone for reading this thread and for the time taken.