Getting snapshot artifacts dependencies within Comand Line runner
I'm having a build with a snapshot dependency on another build that produces several artifacts (wars and ears). It also have artifact dependencies on the same build from the same chain, which then incldues all files matching: *.war and *.ear
This build is using the Command Line runner that for each artifact should to some operations.
What I'm struggling with is how to programatically get the whole list of artifacts without manually writing them down as a parameter on the build. Is there any built-in parameter providing the list of artifacts? Or could I possibly list the files in the current working diretory as they should have been copied there?
Thanks! Jørund
Please sign in to leave a comment.
> Or could I possibly list the files in the current working diretory as they should have been copied there?
Seems like the most natural approach. This is not a TeamCity-related logic, you will need to use shell/batch file commands to do that.