Is there an equivalent to 'Tasks' in a CruiseControl configuration in TC?

Hullo,

I have the following setup on my CruiseControl server:

... ... ... ]]>

Is there an equivalent in TC which doesn't involve me creating 2 build configurations, and then setting the 'msbuild' config to be dependent on the others finishing?

Cheers

Chris

3 comments

Chris,

Sorry for delay with replying.

TeamCity currently only have the ability to run a single script per build. If you need other actions to be performed, they can be included into the script or, as you correctly mentioned, performed as a separate build configuration.

BTW, what kind of actions do you include in the CC tasks block? May be they need addressing on some TeamCity plugin level?

--
Best regards,

Yegor Yarko
Project Manager
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Hi,

Sorry for not replying myself... Been away for a bit!
Typically my tasks are set to tearing down and rebuilding a database, it's more the fact that I run (for example) 3 scripts:
- Teardown.bat
- SetupDb.bat
- AddSps.bat

(Perhaps not the best model, but I inherited it and am new to the whole CI thing)...
With the tasks I can run them as 3 tasks. A 'database' script plugin would be pretty cool - allowing DB scripts to be run prior to the build, or even, prior to the unit tests!!

All the best

Chris

0

Chris,

Thank you for describing your case.

I'd recommend you to add a script that will run all the necessary scripts and then start the build. Then, the build configuration should just run this new script.

--
Best regards,

Yegor Yarko
Project Manager
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.