Harry Flink commented 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:
    Unable to find source-code formatter for language: bash. Available languages are: _javascript_, sql, xhtml, actionscript, none, html, xml, java
    sudo chown "$USER" .
    bzr revert --no-backup
    bzr clean-tree --ignored --unknown --force --detritus
  3. Start rebuilding the project.
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