質問

If I have two builds, A and B, how can I set up CCNet such that when B is forced, it will automatically force a build for A before proceeding with the build steps for B?

I've seen the ForceBuildPublisher, however that looks like it's for dependent builds instead of prerequisite builds.

I've also seen the page for the "launchccnetbuild" nant task, but the code file appears to be missing.

役に立ちましたか?

解決

No "nice" way, I am afraid. ForceBuildPublisher will work if you can make project B wait for project A to start and finish. For the latter multiple possiblities exist, one would be to poll a file.

他のヒント

As Lothar_K mentioned that there is no "nice" way. Usually when this situation is needed then the build scripts(in your case nant task) from Build A is copied\merge to the nant task from Build B.

Another route is to use sequential task depending on your CCNet version.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top