Professional Edition - Build Steps
Answered
Hi,
On Free version of TeamCity it's not possible to create the following steps?
Create build steps
You have a build configuration attached to a source control. We can now create the build steps. I am going to create three steps:
- Build Solution: to build the code
- Run Tests: to run the tests
- Pack NuGet: to create NuGet packages from the artifacts generated in the previous steps
Can you please clarify this matter?
Thanks.
Please sign in to leave a comment.
Hi José,
All this build steps are supported in TeamCity. For example:
If you have any further questions, please do not hesitate to ask!
Answering your question:
>In order to create automatic tests in TeamCity I need to do the actions contained in the attached snapshot?
Most probably you want to run tests on the same sources that the first step. In this case please use snapshot dependencies. Please create snapshot dependency in Test build configuration to Build Solution, and in Pack NuGet to Tests.
In this case if you run Pack NuGet build configuration, the whole build chain (Build Solutions, Tests, Pack NuGet) will be added to the queue and run on the same sources.
For more details please see the related section in documentation.
If you want build chain to trigger automatically on any committed changes, you can configure one VCS trigger in Pack NuGet build configuration, with option "Trigger on changes in snapshot dependencies" enabled.