문제

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