Harry Flink edited a comment on Bug JENKINS-22696

Wait... I think I finally found a workaround, after 5-6h of trying to solve this, for Bazaar projects at least.

  1. Uncheck "Delete workspace before build starts" because it fails the build if it cannot delete the work directory.
  2. Add "Execute Shell" build step as a very first step with content like this:
    sudo chown "$USER" .
    bzr revert --no-backup
    bzr clean-tree --ignored --unknown --force --detritus
  3. Start rebuilding the project.


EDIT: No bash formatter installed in Jira, fixed the code-block layout.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to