Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-24002

Rbenv plugin fails to remove .rbenv.lock

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • rbenv-plugin
    • Ubuntu 14.04

      In some situations the following command is executed to remove .rbenv.lock

      bash -c "rmdir \$HOME/.rbenv.lock"

      This command fails if .rbenv.lock does not exist.

      I believe a more robust solution would be to use

      bash -c "rm -rf \$HOME/.rbenv.lock" which will remove the directory if it exists and carry on if it does not.

            Unassigned Unassigned
            jjhughes57 Joseph Hughes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: