Uberleet

Linux Systems Articles for better insights

#jenkins Articles


How to censor Jenkins passwords

In our environment we use Ansible through Jenkins frequently and an ansible-playbook I wrote started exposing secrets that I did not want in Jenkins logs. ansible-playbook outputs real-time status about the deploy but also leaks secrets. There were two ways I discovered how to filter, censor, or alter sensitive data …