PHPCI
PHPCI copied to clipboard
crontab mail sent even for 0 build candidates
Hello,
Here is the content of my crontab:
- * * * * /usr/bin/php /opt/phpci/console phpci:run-builds
Here is the result message from running the script manually: /opt/phpci/console phpci:run-builds [2015-12-06 07:54:10] RunCommand.INFO: Découverte des builds à traiter [] [] [2015-12-06 07:54:10] RunCommand.INFO: 0 builds trouvés [] [] [2015-12-06 07:54:10] RunCommand.INFO: Traitement des builds terminé. [] []
I keep receiving emails saying this:
[2015-12-06 07:57:01] RunCommand.INFO: Découverte des builds à traiter [] [] [2015-12-06 07:57:01] RunCommand.INFO: 0 builds trouvés [] [] [2015-12-06 07:57:01] RunCommand.INFO: Traitement des builds terminé. [] []
Wouldn't it make more sense NOT to send this type of message if NO builds are found?