???? STAF ????????°?????????????
???????????? ???????[ 2014/1/2 11:17:50 ] ???????????? ??????? ?????
????ftp?????STAX????????????
????5??????FTP?????STAX???
<process>
<location>'local'</location>
<command>'ftp'</command>
<parms>'-s:ftpSample.conf'</parms>
<workdir>'C:/STAF'</workdir>
</process>
process??????????STAF????????(process)??location????????????????????command????????е???????parms??????????????????workdir??????????е????????
???FTP?????STAX???????????????STAX?????????FTP????????
3.2 CVS????
??FTP?????CVS????????????????е???????????CVS??????????Э?鯔?????CVS?????????????????????????????????????CVS???????????????????????????????μ????????CVS????:
cvs -d :ext:username@cvs.ibm.com:/cvsroot/ checkout -d directory modulename.
???????CVS????????????????CVS?????STAX??????£?
????6??????FTP?????STAX???
<process>
<location>'local'</location>
<command>'cvs'</command>
<parms>'-d :ext:username@cvs.ibm.com:/cvsroot/ checkout -d directory modulename'</parms>
<workdir>'C:/CVS'</workdir>
<stdout>'C:/CVS/cvsupdate.log'</stdout>
</process>
????? 5 ???????????? 6 ?????stdout ?????????????????? cvs ?????????? cvsupdate.log ?У??????????? cvs ??????е?????????
3.3 ???????????
?? CVS ?? FTP ????????????????????????????????????????????????? STAF ???????????????? STAX ???????
???? 7??????????? STAX ???
<script> directoryList = ['CVSDirectory'?? 'FTPDirectory'] </script>
<iterate var = "directory" in="directoryList">
<testcase name = "'sourceCopy'">
<sequence>
<stafcmd>
<location>'local'</location>
<service>'fs'</service>
<request>'copy DIRECTORY C:/Source/%s TODIRECTORY /root/build/%s TOMACHINE
buildserver RECURSE KEEPEMPTYDIRECTORIES' % directory % directory</request>
</stafcmd>
</sequence>
</testcase>
</iterate>
???? 7 ???? CVS ?? FTP ?????????????С?script ???????????????? directoryList??????????????????????? CVS ??????? FTP ????iterate ????????????????????? CVS ???? FTP ?????????????????????С? stafcmd ??????? STAF ????????????????? FS?????????????copy DIRECTORY ????????????????????????????????С? ?????????????????????????????????????????????????? fs delete entry ???????????е??????
???????????????????????????o???????б????????????????????????????????????? /root/build/build.sh????????????????????? STAX ???????? 8 ?????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11