With a recent announcement, Bitbucket stopped dedicated IPs on pipeline runners for free personal projects. As I didn’t want to adjust the firewall to allow all traffic in (Although it still needs SSH authentication) – I decided to get a jenkins server up and running.
- Created a new cloud server
- Added it to the existing network
- Added the existing firewall rules for home SSH
- Created a new firewall rule to allow jenkins ssh access to the dedicated server
- Connected Jenkins build to my git repo
- Configured Capistrano (and gems) to run the deployment
- On build finish run bundle exec cap production deploy