RTC 4.0.1 integration with Jenkins - personal build request - how do you specify a personal "load directory space"
![]()
Donald Poulin (224●9●118●107)
| asked Mar 13 '13, 5:30 a.m.
edited Mar 13 '13, 10:46 a.m. by Spencer Murata (2.3k●11●59●70) In a previous forum entry I asked this question In reviewing the article below since the recommendation is to use a "jazz source control" tab with a created build workspace - when requesting a build can you request the build with the option "personal build" where the requestor specifies their repository workspace as the "source" for the build? https://jazz.net/wiki/bin/view/Main/JazzScmWithJenkins And the answer was ------
However when you request a personal build option you are requested to enter a repository workspace and possibly a "component load rules" entry - but - no option to specify a "personal load directory" In the buildOnHudsonJenkinsAdvanced build script there is this line indicating that the value of workingDir must match the "load Directory" value in the build definition.
<property name="workingDir" value="C:/RTC02_Base/Dev"/> <!-- Must match the value in the RTC build definition load directory. -->
So how can you request a personal build and specify a "personal load directory" value? |
One answer
![]()
The property for the load directory is team.scm.fetchDestination, so you could alter the load directory that way. That assumes that you are trying to keep the default load directory separate from a personal build load directory. Generally the use case from the wiki is just loading everything into the same sandbox, but I don't see why it wouldn't be possible to keep them separate.
~Spencer
Comments I have a stream build based on the article that works great. I now want to be able to use that for developers to request a "personal build" where the only differences are 1) their specified repository workspace and 2) "their" load directory. So could I do something like examine the requester userid and based on that alter the "workingDir" variable in the buildOnHudsonJenkinsAdvanced build script to point to a separate area for each user? Yes that should work. One more question - what is property I can look at to tell me if "this" request is for a personal build? ![]() FORUM MODERATOR / JAZZ DEVELOPER
I believe that it is just 'personalBuild'. |