Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 575 Bytes

File metadata and controls

26 lines (20 loc) · 575 Bytes

rsTeamCityBuild

check a folder for presence of a key file (e.g. web.config)

if present, do nothing

if not present, submit HTTP request using basic auth to team city server api

======================= Usage

rsTeamCityBuild test1
{
  Name = "prod1"
  CheckFile = "C:\inetpub\wwwroot\test.txt"
  TeamCityAPIBuild = "https://23.253.104.253/httpAuth/action.html?add2Queue=Test1_80"
  TeamCityUser = "admin"
  TeamCityPass = "blahblah"
  Ensure = "Present"
  DependsOn = @("[msWebsite]jmad_rackspacedevops_com")
}