Setup Continuous Integration with ClearCase Adapter.
Hello,
Can anyone share a detailed steps(or document/link) to setup BF to do a continous integration by monitoring source code changes in ClearCase repository? Thanks a lot! Andrew |
19 answers
Hello bju, a quick update: it always evaluates to false! :(
I'm using 3 vars to "debug": var name = initial value TEST1 = 1111 TEST2 = 2222 TEST3 = 3333
After the adaptor execution I get: TEST1 = dateA TEST2 = dateA TEST3 = 3333 Any idea what's going on? ps: test1 equals test2 on the environment |
Hi,
I don't have your environment so it's hard to determine exactly what is happening. You might try the <setenv> statements without the condition to see what the variables $latest_build, $latest_update, and $1 are expanding to, and that might give a better idea as to why the condition evaluation isn't working as expected. bju |
Hi, Hi, the vars values are:
I've changed all vars before the build to ensure I get the adaptor output. The only var that doesn't change is TEST3 (I left the condition="true($latest_build==$latest_update)" statement) Thanks! ep.- |
Hi, Hi, the vars values are:
I've changed all vars before the build to ensure I get the adaptor output. The only var that doesn't change is TEST3 (I left the condition="true($latest_build==$latest_update)" statement) Thanks! ep.- Hi ep, Could you try changing in your condition statement the "==" to "eq" like the ones below.
bju |
Awesome, problem solved!!!
Finally I used: <setenv name="Changes" value="RUN" type="temp append" condition="false($latest_build eq $latest_update)"/> Thanks a lot!!! |
Now I have a strange problem...
The project has been running ok in server A, but in server B it only executes de adaptor. When it pass, I get the "passed" message but no other step is executed. When it fails, the build doesn't dissapear from the job list. It's exactly the same project/environments/adaptor configuration. Could be a BuildForge configuration issue? Thanks! ep.- |
Now I have a strange problem... Hi ep, Could you check if the adaptor link is in 'Debug'mode? In the UI if you go to Projects -> Adaptor Links -> , there is a 'State' attribute that can be set to Active, Inactive, or Debug. The behavior you describe sounds like the Debug state. bju |
I thought the same thing, but the link state is "active". Any global config that could override this setting? Thanks! ep.- |
Hi, Yes, there is a system configuration parameter named 'Link Debug Mode'. In the UI if you go to Administration -> System -> Link Debug Mode, make sure that it is set to 'No'. bju |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.