CruiseControl status htmlemail

3803 단어 status
Cruise Controll 구축 실패 후 상태 업데이트 없음 및 이메일 발송 원인

<cruisecontrol>
    <project name="connectfour">

        <listeners>
            <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
        </listeners>

        <bootstrappers>
             <svnbootstrapper localWorkingCopy="projects/${project.name}/bss.lib/" />
        </bootstrappers>

        <modificationset quietperiod="2">
            <!-- touch any file in connectfour project to trigger a build -->
            <filesystem folder="projects/${project.name}"/>
        </modificationset>

        <schedule interval="300">
            <ant anthome="apache-ant-1.7.0" buildfile="projects/${project.name}/build.xml"/>
        </schedule>

        <log>
            <merge dir="projects/${project.name}/target/test-results"/>
        </log>

        <publishers>
            <onsuccess>
                <artifactspublisher dest="artifacts/${project.name}" file="projects/${project.name}/target/${project.name}.jar"/>
            </onsuccess>


	<htmlemail buildresultsurl="http://localhost:8080/cruisecontrol/buildresults/${project.name}"
                                mailhost="124.207.3.22" password="840119^xhjj" username="asd"
                                charset="UTF-8" skipusers="true"
                                returnname="Cruisecontrol Daily Build"
                                returnaddress="[email protected]"
                                subjectprefix="Build Report"
                                xsldir="webapps/cruisecontrol/xsl" css="webapps/cruisecontrol/css/cruisecontrol.css">

                                <!--<always address="[email protected]" />-->

                               
                        </htmlemail>

        </publishers>

    </project>
</cruisecontrol>

원인 분석:
는 주로 컴파일하기 전의 업데이트 코드 작업을 합니다. 컴파일하지 마십시오.
컴파일, 패키지, 코드 검사...작업은 로 완료
만약bootstrappers에 컴파일 작업이 존재한다면 컴파일이 정확하면 문제가 없고, 컴파일이 잘못되면 구축 결과 상태가 업데이트되지 않고 메일이 발송되지 않습니다

2012-02-06 15:29:36,360 [Thread-95] INFO  ScriptRunner     - BUILD SUCCESSFUL
2012-02-06 15:29:36,360 [Thread-95] INFO  ScriptRunner     - Total time: 4 seconds
2012-02-06 15:29:36,442 [Thread-83] INFO  ProjectController - projectAAA Controller: build result event: build successful
2012-02-06 15:29:36,444 [Thread-83] INFO  Project          - Project projectAAA:  merging accumulated log files
2012-02-06 15:29:36,445 [Thread-83] INFO  ProjectController - projectAAA Controller: build progress event: merging accumulated log files
2012-02-06 15:29:36,491 [Thread-83] INFO  Project          - Project projectAAA:  build successful
2012-02-06 15:29:36,492 [Thread-83] INFO  Project          - Project projectAAA:  publishing build results
2012-02-06 15:29:36,492 [Thread-83] INFO  ProjectController - projectAAA Controller: build progress event: publishing build results


CC는 여기서 구축 결과를 판정합니다.

projectAAA Controller: build result event: build successful

bootstrappers에서 컴파일이 잘못되면 이곳으로 갈 수 없습니다

좋은 웹페이지 즐겨찾기