I am new to hudson can anyone explain how to configure a job in Hudson on a stream (UCM Cl开发者_开发技巧earCase)
- I want to setup a job on UCM stream in Hudson
- Want to execute a simple
build.sh
which is under<component>/build/build.sh
- The o/p is available under
<component>/release/
directory - want to copy the contents under release dir to another location on same server say
/tmp/xyz
I am not understanding how Hudson is creating view where and how can I tell Hudson to execute my build.sh
.
build.sh
?
Can someone please explain would be a great help
Than
The main parameter is the Stream Selector
field (if you have added the ClearCase plugin):
Once you have put a Stream name in that field:
a snapshot view will be created, referencing that UCM Stream.
If the view was already created, it will simply be started.your script will be executed on any changes detected in that view (
lshistory
), or, if you want, every n minutes.your
build.sh
must be added as a step in the build section: "Add build step / execute shell".
That means you have chosenBuild a free-style software project
when creating a new Job.
Each step allows you to define the execution directory and script you want to run.
精彩评论