LifeLongStudent
LifeLongStudent

Reputation: 2468

Run teamcity from failed step

I have 10 steps in build.

Often build fails at step 10 where it try to deploy rpm to artifactory.

Next time build again starts from 1 , can i configure build to start from 10step only if failed at that step.

Thanks

Upvotes: 2

Views: 751

Answers (2)

Alex Maslov
Alex Maslov

Reputation: 413

The other way to achieve this is to manually disable first n steps that you want to skip. In your particular scenario it is rather tedious to disable 1-9 steps and then after the build enable them again but if you need to do that for a couple on steps once in a while it might be acceptable.

Upvotes: 0

Biswajit_86
Biswajit_86

Reputation: 3739

There is no built-in way to restart from a build step. You should rather breakup your single build configuration into multiple build configurations and setup dependency/build chains.

Upvotes: 5

Related Questions