cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblotsky <>
Subject [GitHub] cordova-medic pull request: [CB-8803] Reduce the effect of intermi...
Date Thu, 09 Apr 2015 22:28:30 GMT
Github user dblotsky commented on a diff in the pull request:
    --- Diff: buildbot-conf/cordova.conf ---
    @@ -229,6 +229,8 @@ plugins_cleanup_steps = [
         NPMInstall(command=['shelljs'], what='shelljs'),
         RMRF('~/.cordova/*', description='removing cache', haltOnFailure=False),
         RMRF(BASE_WORKDIR + '/*', description='cleaning workspace', haltOnFailure=False),
    +    RMRF(BASE_WORKDIR + '/*', description='cleaning workspace again', haltOnFailure=False),
    +    RMRF(BASE_WORKDIR + '/*', description='cleaning workspace yet again', haltOnFailure=True),
    --- End diff --
    The solid solution, and hence the "proper fix", is to offload this work to a custom cleanup
script. We currently have a chicken-and-egg problem because we need to download the script
before we clean up, and then clean it up using itself. In the near future we should consolidate
the medic scripts into an executable called `medic` that is not part of the downloaded repositories,
and we will be able to clean up by calling something like:
        medic clean
        medic update_config
        medic build windows
    This will move a lot of logic out of buildbot, and it will also make the automated build
tools more usable outside of buildbot.
    For now, the three steps are a very simple effective fix for the intermittent problem.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message