clearcase

Jenkins creating a view in ClearCase

北城余情 提交于 2019-12-07 14:13:39
问题 I'm working on an automatic build using Jenkins and ClearCase and I have a problem. I wrote a batch script to create a view in ClearCase using the cleartool command mkview. When I execute the script by clicking on it, everything works, the view is created in ClearCase. But when I launch the script via Jenkins, I have the following errors : C:\Program Files\Jenkins\workspace\JenkinsLecon1> "C:\Program Files\IBM\RationalSDLC\ClearCase\bin\cleartool.exe" mkview -sna -tag AUTOBUILD_VIEW_TEST1_CFW

Add line to ClearCase config

三世轮回 提交于 2019-12-07 12:35:31
I am running a job on Jenkins which is used to create a view on ClearCase and the ClearCase view creates the default config spec. I want to edit the config spec by adding some more lines to it but I don't want to edit it manually every time. So I am looking to add some script to Jenkins so that it can edit the configspec every time when it runs the job. Is there anyone how is clear case expert who can task it out. Once your ClearCase view is created you need to get its config spec as a file with cleartool edcs cd /path/to/view cleartool catcs > cs You need to adds your selection rules before

ClearCase: Difference between delivering and rebasing

倖福魔咒の 提交于 2019-12-07 12:29:50
问题 Suppose stream B and stream C are child streams of stream A and seeded from the same baseline of A. After parallel development for a while in both B and C, B needs to obtain the codes from the latest baseline bl_C_5 of C. Is there any functional (merging of elements) or non-functional (performance etc.) difference between the following operations? B rebases from baseline bl_C_5 of C C delivers baseline bl_C_5 to B 回答1: Simple: " B rebases from baseline bl_C_5 of C " is impossible: a rebase

How to hook PMD + Clover in Hudson build using maven?

廉价感情. 提交于 2019-12-07 11:35:28
we have newly set-up up a Hudson (yes.. Hudson, not Jenkins) CI. The job scheduled in Hudson does the following a. Connects to IBM ClearCase repository to download the latest source code b. Compiles all java source code and Creates a WAR file (by running the project's pom.xml) c. Deploys it to a Tomcat6 server Now, i want to take it one more step further in-terms of bringing in automatic 'Static Code Analyzers' in this process. I installed PMD/Clover/JavaNCSS plugins in my Hudson instance, but while looking at it's setting, it looks like, these plugins will not perform the static code

What is the svn equivalent to winkin in clearcase?

旧时模样 提交于 2019-12-07 09:15:34
I am new to svn, however I am at present making the transition of some Perl scripts from ClearCase. I know that Clearcase have dynamic views, so it can access one or more derived objects (DOs) from a dynamic view, or convert a nonshareable derived object to a shareable (promoted) derived object by the cleartool command winkin . How do I replace it with an equivalent svn command, knowing that svn is static. VonC You don't: Those notion of derived object are very specific to ClearCase dynamic view. cleartool winkin accesses the data of any existing DO, and a DO does not exist in Subversion. That

cleartool: how to write the result from command find to a text file

房东的猫 提交于 2019-12-07 09:00:26
问题 I am trying to find all the files under gt.BridgeGov branch in my view find \gtGov -all -version "brtype(gt.BridgeGov)" -print This statement works fine and list all the files under branch gt.BridgeGov. I am getting the list on console, but I want to redirect result to text file. I tried the following find \gtGov -all -version "brtype(gt.BridgeGov)" > myFile.txt find \gtGov -all -version "brtype(gt.BridgeGov)" >> myFile.txt Its throwing me an error cleartool: Error: Extra arguments: ">" How

Clearcase protect -chmod +x recursively all *.exe

自作多情 提交于 2019-12-07 08:30:43
问题 I am trying to recursively change all .exe in a directory. I did a bit more digging before posting and ended up finding what I needed. Will post with my answer just on case anyone can used this information. Hope that is alright I am new here. ct find . -all -name *.bat -print -exec "cleartool protect -chmod +x -file ""%CLEARCASE_PN%""" 回答1: When you consider the man page of cleartool find, and the additional examples of cleartool find -all generally for quite lengthy search, especially for

Continuous Integration with Teamcity and Clearcase

时光毁灭记忆、已成空白 提交于 2019-12-07 05:13:31
问题 Has anybody successfully integrated Clearcase with Teamcity (which advertises Clearcase support) to realize a productive continuous integration build environment on a decent size project? 回答1: Yes we have, but with a custom ClearCase plugin for TeamCity , in order to:: use a dynamic view set with a "time" directive , and to avoid hundreds of " descr -l " for each changed files (which would be Sparta, err, no, madness, would be madness since it would represents hundreds of transaction to the

Moving from ClearCase to Mercurial: your top tips?

孤者浪人 提交于 2019-12-07 04:38:16
问题 We will soon start replacing ClearCase with Mercurial. I hear this is a good thing. The change model vs. the version model. Wave of the future. I'm prepared to believe this. Still, it kind of frightens me. Hey, it took Joel Spolsky a while to grok the difference and how to get maximum advantage out of Mercurial, so I'm betting I will run into conceptual traps and pitfalls. Does anyone have any real-world "how to grok Mercurial" tips? Anything specific suggestions that will help me bridge the

ClearCase in Visual Studio 2015

烈酒焚心 提交于 2019-12-07 04:25:09
问题 Is there any workaround to get Rational ClearCase running in VS2015 RC? It looks like no plugin is available yet. Can I somehow use the plugin from VS2013? 回答1: The solution proposed by user5337760 worked perfectly for me. In ccvsisearchtoolwin_VS2013.reg and reg_VS2013.bat, globally change all the 12.0 instances to 14.0. (I don't use the Remote Client, so these 2 files are the only ones I needed.) Check the environment variables in reg_VS2013.bat to be sure they match your setup. Run reg