Here’s a fairly objective metric for comparing the complexity of deploying Jenkins vs Postgres:
https://github.com/geerlingguy/ansible-role-jenkins
https://github.com/geerlingguy/ansible-role-postgresql
Two ansible roles by the same author, supporting both Centos and Ubuntu. Not hugely different in complexity IMO. Installing Postgres on FreeBSD, though, is little more than
pkg install postgresql10-server
sysrc postgresql_enable=“YES”
service postgresql initdb
service postgresql start