It's all about the answers!

Ask a question

Two Build Questions (build request from server and REST)


Tami Takamiya (2011110) | asked Feb 07 '09, 12:08 a.m.
JAZZ DEVELOPER
Hello,

I have two build-related questions. If someone has any information on
them, it would be appreciated.

1. Is it possible to request a build from server-side? I know there is
a sample code to request from client-side
(https://jazz.net/wiki/bin/view/Main/BuildJavaProgrammingExamples). I
would like to know how we can implement similar things from server.

2. Are there any documents on Build REST API? All I have write now is
the comment-lines of BuildRest.java.

Tami (Masaaki) Takamiya

One answer



permanent link
Don Weinand (7851) | answered Feb 10 '09, 10:48 a.m.
JAZZ DEVELOPER
1. The service that provides the ability to request builds server side is
ITeamBuildRequestService. It is currently internal so if you choose to use
it there is no guarantee that your code will not be broken as the build
component evolves. There is no public access to that service.

2. I don't believe there is any public documentation. The Build REST API
is in an internal incubation state and we intentionally did not publicly
advertise it for that reason. The actual service that is using the
constants in the file you mention is TeamBuildRestService. You could also
take a look at the associated test class TeamBuildRestServiceTests.java to
see examples but again these are internal so no guarantee you won't be
broken down the road.

Don Weinand
Jazz Team Build

"Tami (Masaaki) Takamiya" <ttakamiy> wrote in message
news:gmj4ti$a57$1@localhost.localdomain...
Hello,

I have two build-related questions. If someone has any information on
them, it would be appreciated.

1. Is it possible to request a build from server-side? I know there is a
sample code to request from client-side
(https://jazz.net/wiki/bin/view/Main/BuildJavaProgrammingExamples). I
would like to know how we can implement similar things from server.

2. Are there any documents on Build REST API? All I have write now is the
comment-lines of BuildRest.java.

Tami (Masaaki) Takamiya

Your answer


Register or to post your answer.