TC can't run phpunit.phar
Hello,
I'm using Teamcity 8.1.4 with the metarunners you guys have provided in Github.
I have two build steps for PHP.
1. Just run a composer update through the metarunner to retrieve all the dependencies (works fine)
2. Run some unit tests through the metarunner. This doesn't work though because when I provide a path for phpunit.phar it throws an exception that it cant be executed.
If I dont provide a path and let teamcity download it, then I'm getting this :
Error getting http://phar.phpunit.de/phpunit.phar to C:\TeamCity\buildAgent\temp\buildTmp\phpunit.phar
[21:15:31][get] javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed
I'm using windows 8.1.
Any thoughts on what I'm doing wrong?
Please sign in to leave a comment.
Hi Nick,
Probably you need to SSL certificate. Please see the related issue https://github.com/JetBrains/meta-runner-power-pack/issues/31.
Thank you Alina,
That solved the problem.