问题描述
我最近加入了一个团队,该团队有几个执行工作负载自动化的应用程序.他们使用ClearCase进行版本控制,但是开发和测试环境(由于团队内部缺少ClearCase的专业知识,所以我认为这不是从CheckCase中检出/部署),而是从Window通过FTP传输到相应的Unix服务器.我说简单部署"是因为所有代码都被解释了(Perl和Shell),因此无需编译.不用说,这种方法有很多问题,最特别的是从部署开始,这些环境中就缺乏版本管理.
因此,我想将我们的部署绑定到存储库并开始控制更改,但是我只是ClearCase的新手.我的具体问题是:我部署的是VIEW还是STREAM?我会说后者是因为视图是特定于用户的,而(根据我的理解)流是每个视图的项目主干,就像分支一样,并且视图已集成到它们的流中.
如果任何人有一些有用的,简洁的,轻量级的ClearCase教程的偶然" CM联络人的指针,请分享.
或者,如果您认为此任务适合 Jenkins ,尽管相对简单(不涉及任何构建/编译),请插话.
感谢advace
您需要使用"
I have recently joined a team that has several applications that perform workload automation. They use ClearCase for version control but the development and test environments are (I surmise due to a lack of ClearCase expertise within the team) not checked out/deployed out of ClearCase but simply FTP-ed to respective Unix servers from Window. I said "simple deployment" because all the code is interpreted (Perl and shell) so no need to compile. Needless to say, many things are wrong with this approach, most specifically the lack of version management in these environments from the point of deployment onward.
So I would like to bind our deployments to the repository and start controlling changes but I am only a ClearCase novice. My specific question is: what is it that I deploy, a VIEW or a STREAM? I would say the latter cause views are user-specific while (according to my understanding) a stream is a project trunk off of each view is like a branch and views are integrated into their stream.
If anyone has any pointers on some useful yet succint and lightweight ClearCase tutorials for an "accidental" CM liason, please share.
Alternatively, if you think this task is suitable for Jenkins, despite being relatively simple (no build/compile involved) please chime in.
Thanks in advace
You would need to use the Jenkins ClearCase UCM plugin (in combination with Jenkins ClearCase plugin) in order to start jobs based on a ClearCase Stream
Jenkins will create an UCM snapshot view based on the stream you will specify in it.
See also, for more on the stream:
- "Difference between branches and streams in ClearCase?"
- "Integration stream vs integration view in ClearCase"
这篇关于在Unix上从ClearCase进行简单部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!