google-code-backups / xinc

Automatically exported from code.google.com/p/xinc
0 stars 0 forks source link

Local SVN copy is not updated (update=true ignored?) going to infinite loop #193

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Setup your project like this:
<?xml version="1.0"?>
<xinc>
        <project name="My CI">
                <property name="main-dir"
value="/var/xinc/projects/MyProject" />
                <schedule interval="300" />
                <modificationset>
                        <svn directory="${main-dir}/trunk"
                                username="username"
                                password="password"
                                update="true"
                        />
                </modificationset>

                <builders>
                        <phingbuilder buildFile="${main-dir}/build.xml" />
                </builders>

                <publishers>
                        <phpUnitTestResults
file="${main-dir}/reports/myproject-report-log.xml"/>
                        <onsuccess>
                                <email to="root@localhost"
                                        subject="${project.name} Xinc -
SUCCESS - ${project.name} - ${build.label}"
                                        message="Hi!\n\n${project.name}
project was successfully build." />
                                <phingPublisher
buildFile="/var/xinc/projects/MyProject/build.xml" target="publish" />
                        </onsuccess>

                        <onrecovery>
                                <email to="root@localhost"
                                        subject="${project.name} Xinc -
RECOVERED - ${project.name} - ${build.label}"
                                        message="Hi!\n\n${project.name}
project was successfully recovered from the previous failures."/>
                        </onrecovery>

                        <onfailure>
                                <email to="root@localhost"
                                        subject="${project.name} Xinc -
FAILED - ${project.name} - ${build.label}"
                                        message="Hi!\n\n${project.name}
project was NOT build."/>
                        </onfailure>
                </publishers>
        </project>
</xinc>

2. Run service "/etc/init.d/xinc start"
3. While small changes are handled correctly, suddenly after quite big SVN
commit local copy stopped updating. Now Xinc is sending SUCCESS mails every
300 seconds as if changes still come.

Expected output:
Local copy is updated and only one SUCCESS mail is sent.

See instead:
Local copy is NOT updated and SUCCESS mails are sent every 300 secs.

Xinc version: 2.0 on Ubuntu 8.10 (Intrepid Ibex) server installed via PEAR.

Manual Local copy update and xinc service restart solved this, but still
some explanations would be great.

Thanks!

Original issue reported on code.google.com by Jevgenij...@gmail.com on 23 Feb 2009 at 8:07

GoogleCodeExporter commented 8 years ago

Original comment by opitz.al...@googlemail.com on 1 Oct 2011 at 11:15

GoogleCodeExporter commented 8 years ago
I only get problem #88 so mark it as won't fixed.

Original comment by opitz.al...@googlemail.com on 1 Mar 2012 at 11:39

GoogleCodeExporter commented 8 years ago
Issue 88

Original comment by opitz.al...@googlemail.com on 1 Mar 2012 at 11:43