It's all about the answers!

Ask a question

BuildEngine can't be set inactive in v7.0.1


Alex Akilov (663) | asked Sep 01 '20, 11:37 a.m.
Trying to set a build engine inactive using the following snippet:

IBuildEngine buildEngine = buildClient.getBuildEngine(buildengine.getId(),monitor);
IBuildEngine toBEdeactivateWorkingCopy = (IBuildEngine) buildEngine.getWorkingCopy();
toBEdeactivateWorkingCopy.setActive(false);
buildClient.save(toBEdeactivateWorkingCopy, monitor);


Although the setActive doesn't report any issues, the build engine continues to stay active after the code executes.

Any ideas?

One answer



permanent link
Lakshmi Narasimhan T V (4415) | answered Sep 02 '20, 2:14 a.m.
JAZZ DEVELOPER

The build engine process (like JBE) might remain alive in the build machine but it will not take up any build requests. In the Eclipse/Web UI, you should see (inactive) next to the build engine id.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.