My Profile Photo

Ionut Gavrilut


DevOps Enthusiast | Linux System Administrator | Certified Jenkins Engineer


  1. Redirect encoded URLs in Nginx

    Redirect encoded URLs in Nginx …


  2. Test Session Timeout with Burp Suite (with Example)

    Test Session Timeout with Burp Suite (with Example) …


  3. Jenkins Pipelines sh: source: not found / unexpected operator

    When you have a sh step in a Pipeline and you want to run source command, you can get this error: script.sh: source: not found or script.sh: unexpected operator …


  4. Cryptonight attack on Apache SOLR (Solve and Prevent)

    Apache Solr should listen to local IPs only, and not be reachable from the Internet. A public Solr can be victim of cryptonight attacks (monero mining) and huge load. …


  5. Create Jenkins Jobs with REST API and Postman

    When you have two Jenkins instances and want to copy a job from one to the other, there are multiple ways you can do this. One of it is to create a config.xml file in a new directory that will be your new job. Put the config.xml that you want to want (copied from the other job) and restart the Jenkins. …


  6. Auto Renew LetsEncrypt certs with crontab in Linux

    To renew all LetsEncrypt certs that you have, there is a nice Bash script. Download this script in /etc/letsencrypt, and make it executable. cd /etc/letsencrypt/ wget https://dl.eff.org/certbot-auto chmod +x certbot-auto …


  7. Send report with rsnapshot (rsnapreport)

    If use rsnapshot tool for your backup strategy, maybe you want to receive a mail report. For this need, there is a perl script provided by rsnapshot, in /usr/share/doc/rsnapshot-1.4.2/utils/rsnapreport.pl. Move this file in /usr/local/bin/, and make it executable. chmod +x /usr/local/bin/rsnapreport.pl …


  8. Jenkins kills its process (Pipelines)

    If you used Freestyle Jobs, maybe you know that you need to change the BUILD_ID variable to not have processes killed by Jenkins, with: BUILD_ID='dontKillme' …


  9. Partial Checkout from Git with Jenkins

    If you have a big repository to clone but you need only few files, you can use Git Sparse Checkout. This will clone entire repo, but will compress the files that you don’t want to use. …


  10. Jenkins Publish Over SSH Plugin fails after SLES Upgrade

    Jenkins Publish Over SSH Plugin fails after an upgrade from SLES 11 to 12. This results in unstable jobs when you need to transfer files via this plugin. When testing the connection appears: jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect SFTP channel. Message [java.io.IOException: inputstream is closed]] …