ITeamBuildService, IBuildRequest
I am creating a Save WorkItem followup action on the server side. this is a server side plugin and it needs to access to the build service to trigger a build request. I tried IteamBuildService or IBuildRequest. They don't work. Is ths the right way to implement? Did I miss something here?
ITeamBuildService service = getService(ITeamBuildService.class);
or
IBuildRequest service = getService(IBuildRequest.class);
Dependency of this plugin:
com.ibm.team.build.common
com.ibm.team.build.service
com.ibm.team.process.common
com.ibm.team.process.service
com.ibm.team.repository.common
com.ibm.team.repository.service
here is the exception:
The service 'com.ibm.team.build.internal.service.TeamBuildService@5f2e5f2e' failed to find the required service 'interface com.ibm.team.repository.common.service.IQueryService'. Check <prerequisites> in plugin.xml.
ITeamBuildService service = getService(ITeamBuildService.class);
or
IBuildRequest service = getService(IBuildRequest.class);
Dependency of this plugin:
com.ibm.team.build.common
com.ibm.team.build.service
com.ibm.team.process.common
com.ibm.team.process.service
com.ibm.team.repository.common
com.ibm.team.repository.service
here is the exception:
One answer
The actual service to use would be ITeamBuildRequestService. There are
methods on there that provide the ability to request builds. That service
is currently internal though so if you choose to use it anyways there is no
guarantee your code will not be broken as things evolve.
Don Weinand
Jazz Team Build
"eshen" <eshen> wrote in message
news:gmlk2g$cdv$1@localhost.localdomain...
methods on there that provide the ability to request builds. That service
is currently internal though so if you choose to use it anyways there is no
guarantee your code will not be broken as things evolve.
Don Weinand
Jazz Team Build
"eshen" <eshen> wrote in message
news:gmlk2g$cdv$1@localhost.localdomain...
I am creating a Save WorkItem followup action on the server side.
this is a server side plugin and it needs to access to the build
service to trigger a build request. I tried IteamBuildService or
IBuildRequest. They don't work. Is ths the right way to implement?
Did I miss something here?
ITeamBuildService service = getService(ITeamBuildService.class);
or
IBuildRequest service = getService(IBuildRequest.class);
Dependency of this plugin:
com.ibm.team.build.common
com.ibm.team.build.service
com.ibm.team.process.common
com.ibm.team.process.service
com.ibm.team.repository.common
com.ibm.team.repository.service
here is the exception:
The service
'com.ibm.team.build.internal.service.TeamBuildService@5f2e5f2e'
failed to find the required service 'interface
com.ibm.team.repository.common.service.IQueryService'. Check
prerequisites> in plugin.xml.