나는 재료의 2 종류가 있습니다 업스트림 파이프 라인GoCD를 사용하여 2 가지 소재를 스테이지로 가져 오려면 어떻게해야합니까?
다운 스트림에서
정적 자식의 repo는
이슈 전 기능을 모두 필요로하는 AnalysisBuilders이 . 작업이 실행될 때 나는 git 저장소에만 액세스 할 수 있으며 '웹'아티팩트는 액세스 할 수없는 것 같습니다.
XML :
<pipeline name="FishAnalysis"> <materials> <git url="https://fish:[email protected]/fish/analysis.git" /> </materials> <stage name="CommitHandler" cleanWorkingDir="true"> <jobs> <job name="builder"> <tasks> <exec command="yarn" workingdir="web"> <arg>install</arg> <runif status="passed" /> </exec> <exec command="npm" workingdir="web"> <arg>run</arg> <arg>build</arg> </exec> </tasks> <artifacts> <artifact src="web/dist" dest="web" /> <artifact src="web/package.json" dest="web" /> <artifact src="web/node_modules" dest="web" /> <artifact src="web/nginx.conf" dest="web" /> </artifacts> </job> </jobs> </stage> </pipeline>
.....
<pipeline name="AnalysisBuilders"> <materials> <pipeline pipelineName="FishAnalysis" stageName="CommitHandler" materialName="FishAnalysis" /> <git url="https://fish:[email protected]/fish/docker.git" dest="docker" materialName="Docker"> </git> </materials> <stage name="Builders"> <jobs> <job name="shellScripts"> <tasks> <exec command="ls"> <arg>-R</arg> <arg>.</arg> <runif status="passed" /> </exec> </tasks> </job> </jobs> </stage> </pipeline>
나는 '웹'& '고정 표시기'폴더를하기 위해 LS에게 -R 출력을 기대. 그렇지 않습니다. 그것은 docker repo의 내용만을 가지고 있습니다. 두 재료를 모두 사용할 수 있도록하려면 어떻게해야합니까?
위대한 작품 - 감사합니다. –