Skip to content

Instantly share code, notes, and snippets.

@simensen
Created February 10, 2012 23:04
Show Gist options
  • Save simensen/1793853 to your computer and use it in GitHub Desktop.
Save simensen/1793853 to your computer and use it in GitHub Desktop.
<?php
$teamCityCiSystem = new TeamCityCiSystem(
new CiSystem($ciSystemTypes['teamcity'], 'TeamCity', 'http://teamcity.example.com'),
'http://teamcity.example.com/httpAuth/app/rest',
'apiuser',
'apipass'
);
$em->persist($teamCityCiSystem->ciSystem());
$em->flush();
$em->persist($teamCityCiSystem);
$em->flush();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment