‹ jan0sch.de

Tags / CI


Without further configuration you will not be able to put a widget from TeamCity onto a dashboard in Hub. Usually you can create a widget but it will not load any data complaining about “Cannot load project list” or something similar.

The reason for it is that some CORS configuration on the TeamCity side is needed.

Gitea is a nice alternative for a self hosted Git service. However there is no official support for it in the TeamCity build and continuous integration server.

To write unit tests for your javascript code you can use a testing framework like JSTestDriver which is able to run under TeamCity.

Usage and configuration instructions for JSTestDriver are available on their website. For integration with TeamCity you’ll have to write an ant build file. But to be able to run browsers on your build agent machine you’ll have to use Xvfb. The test task in your ant file should look like the one below:

The annoying thing about Drupal’s tests is that they seem to be optimized for running them manually which is insane in my opinion. Using some hacks it is possible to run them under TeamCity.

« ältere Beiträge neuere Beiträge »