How can I disable build manager role in Jenkins

180 Views Asked by At

How can I disable build manager role. I just want to extract the code from synergy to my workspace. Will be of great help..

[workspace] $ "C:\Program Files\IBM\Rational\Synergy\7.1\bin\ccm.exe" set role build_mgr ccm command failed Warning: 'build_mgr' is not a valid role for user 
1

There are 1 best solutions below

0
On

To follow up with @technext's cpmment

the synergy plugin actually runs something like this:

ccm start ... [options]
ccm set role build_mgr
ccm attr -s status -p $CCM_PROJECT
ccm attr -s maintain_wa -project $CCM_PROJECT
ccm attr -s wa_path -project $CCM_PROJECT
ccm attr -m wa_path -v $WORKSPACE -project $CCM_PROJECT
ccm update -r -keep_subprojects -p $CCM_PROJECT
ccm stop

the ccm attr require build_mgr, but I don't think update does. So skip the ccm attr by not using the plug-in.

What you can do is use the ccm copy_project PROJECT,PREP... to get your prep project and then run.

ccm update -r -p $CCM_PROJECT

IBM has some wonderful documentation