it:ad:teamcity:hg:home

IT:AD:TeamCity:Hg

  • Install TortoiseHg
    • Easy to forget (we're so used to having it installed locally, that one forgets that to do a CheckOut, TeamCity will need to have Hg available…)
  • Ensure you've configured it to get through the corporate proxy if any (IT:AD:Mercurial) * for the account TC is running under (eg: DEV\258-TeamCity-Svc). * *Tip: that's one of the reasons one has to ensure that the Website is not running under LocalSystem account – it has no %UserProfile% directory to do this step in…
    • The account has to be a CORP one, not a DEV one…
  • Edit VCS Root:
    • Type of VCS: Mercurial
    • VCS Root Name: null
    • HG Command Path: c:\Program Files\TortoiseHg\Hg.exe
      • %ProgramFiles% doesn't sem to work
      • It's TortoiseHg – not HgTortoise
    • Branch name: null
    • Cone repository to: null
    • Use Cuncompressed transfer: false
    • UserName: skysigal
    • Password: XXXXXX
  • Build Step
  • Trigger
    • VCS Trigger = 60 seconds quite

References:

Packaging

  • Worked:
    • XAct.Core.nuspec was placed beside XAct.Core.csproj
    • TeamCity settings:
      • Specification file: XAct.Core\XAct.Core\XAct.Core_Debug.nuspec
      • Base Directory= XAct.Core\XAct.Core
      • Path = (Custom) c:\Nuget\Nuget.exe
    • Cons:
      • A lot of custom work in the *.nuspec
  • Issues:
    • Using XAct.Core.csprog I get:
      • pack: …The imported project “...\work\f5a3a0936d0bc94c\xact.core\.nuget\NuGet.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
      • Note: The include statement in question is:
        • <Import Project="$(SolutionDir)\.nuget\NuGet.targets" /> so it appears that the NuGet build step thinks the solutionDir is …?!


          * References:

* As usual, a huge bitch.

  • /home/skysigal/public_html/data/pages/it/ad/teamcity/hg/home.txt
  • Last modified: 2023/11/04 02:00
  • by 127.0.0.1