Issues with build engines in Eclipse.
Hi all,
I'm trying to set up a continuous integration environment with RTC-Jazz-Eclipse but I'm failing somewhere and I broke the wall where I'm banging my head so...decided to look out for help :D
I'm pretty new to this topic so I might easily have missed some simple step but can't see it.
I'll describe what am I doing and hopefully someone will spot the error.
In Eclipse, in Team Artifatcs view I right click on Build and select New Build Definition.
I select the Team Area interested and Create a new build. I set ID= "SFC-CI definition" and as build template Command "Line - Jazz Build Engine", select the "Jazz Build Control" check and then finish.
When the build definition opens I click on Create under Suporting Build Engines, I set ID= "SFC-CI engine" and "Jazz Build Engine" as engine type.
So I have the following definition overview:
The following definition JSC:
The following definition command line:
And the I have the following Engine where I have the problem you can see:
Whenever I try to request a build like this it remains pending.
I tried to read in different forums about the warning in the build engine but what I understood is that it's linked to the Jazz server which should be running and is not. But then I read that using Eclipse this should be automatically invoked... to be honest I'm totally confused.
Could you please help me out and make me understand what's going on? I obviously lack some theory here but can't find anywhere a "build engines for dummies" XD
Thanks.
I'm trying to set up a continuous integration environment with RTC-Jazz-Eclipse but I'm failing somewhere and I broke the wall where I'm banging my head so...decided to look out for help :D
I'm pretty new to this topic so I might easily have missed some simple step but can't see it.
I'll describe what am I doing and hopefully someone will spot the error.
In Eclipse, in Team Artifatcs view I right click on Build and select New Build Definition.
I select the Team Area interested and Create a new build. I set ID= "SFC-CI definition" and as build template Command "Line - Jazz Build Engine", select the "Jazz Build Control" check and then finish.
When the build definition opens I click on Create under Suporting Build Engines, I set ID= "SFC-CI engine" and "Jazz Build Engine" as engine type.
So I have the following definition overview:
The following definition JSC:
The following definition command line:
And the I have the following Engine where I have the problem you can see:
Whenever I try to request a build like this it remains pending.
I tried to read in different forums about the warning in the build engine but what I understood is that it's linked to the Jazz server which should be running and is not. But then I read that using Eclipse this should be automatically invoked... to be honest I'm totally confused.
Could you please help me out and make me understand what's going on? I obviously lack some theory here but can't find anywhere a "build engines for dummies" XD
Thanks.
Accepted answer
Apparently there is no Jazz Build Engine running anywhere.
In order for this to work, you have to install the Jazz Build System Toolkit on some machine. Once it is installed, you need to start a build process for that engine Id. You run the jbe.exe in the buildsystem/buildengine/eclipse folder and provide parameters.
For example:
The engine ID must be the ID you defined. The user must be a real user, part of the project to be able to access the SCM data and should have a Build System License assigned. If you build against anything, it needs to be accessible for the build user. It can't be a private repository workspace for example. The Build definition should use a repository workspace that flows against the stream you want and the build user should be its owner.
In order for this to work, you have to install the Jazz Build System Toolkit on some machine. Once it is installed, you need to start a build process for that engine Id. You run the jbe.exe in the buildsystem/buildengine/eclipse folder and provide parameters.
For example:
jbe.exe -repository https://clm.example.com:9443/ccm/ -userId build -pass build -engineId jke.dev.engine -sleepTime 3
The engine ID must be the ID you defined. The user must be a real user, part of the project to be able to access the SCM data and should have a Build System License assigned. If you build against anything, it needs to be accessible for the build user. It can't be a private repository workspace for example. The Build definition should use a repository workspace that flows against the stream you want and the build user should be its owner.