Can I modify build steps prior to executing a build for test automation?
On my team, API tests are executed using npm terminal commands with test specific params Example:
npm run <script> --environment <targetEnv> --tags <api tests to run>
I know it is possible to send an API request to Teamcity to trigger a build (I can already do this), however is it possible to use an API call to also provide command line parameter values that can be applied to the build step with the npm run command?
I would like to have the many api deployments execute a single TC build, but have that build run only the tests we need at that time.
Please sign in to leave a comment.