Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

BuildEngine can't be set inactive in v7.0.1

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?

0 votes



One answer

Permanent link

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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,936
× 562

Question asked: Sep 01 '20, 11:37 a.m.

Question was seen: 1,605 times

Last updated: Sep 02 '20, 2:14 a.m.

Confirmation Cancel Confirm