Closed nelsonic closed 6 years ago
solved by including the following lines in the .circleci/config.yml
file:
# Use BASH instead of DASH! see: https://ubuntuforums.org/showthread.php?t=1932504
- run: apt-get install -y sudo # https://discuss.circleci.com/t/sudo-command-not-found/14208/4
- run: ls -al /bin/sh && sudo rm /bin/sh && sudo ln -s /bin/bash /bin/sh && ls -al /bin/sh
i.e. we have to install sudo
...!
It should be possible to run
sudo
commands on CircleCI ... see: https://circleci.com/blog/sudo-circleci-make-me-a-sandwich 🤔However we are getting an error:
The super annoying thing is that this works flawlessly on one of our projects:
🙄 😖