TC can't run phpunit.phar


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 to C:\TeamCity\buildAgent\temp\buildTmp\phpunit.phar
[21:15:31][get] PKIX path building failed

I'm using windows 8.1.

Any thoughts on what I'm doing wrong?

Comment actions Permalink

Hi Nick,

Probably you need to SSL certificate. Please see the related issue

Comment actions Permalink

Thank you Alina,

That solved the problem.


Please sign in to leave a comment.