Passing parmeters through REST apit to a teamcity build


  • I have 2 powershell scripts, Script1 and Script2.
  • Script1 runs on the client machine and Script2 will run on teamcity, a build is configured to run Script2
  • Script 2 expects some parameters which it needs to run. These parameters would be supplied by user when he runs Script1 on his machine.


  • Can i get the parmeters supplied by user when running script1 and pass that to TC build which is configured to run script2.


1 comment
Comment actions Permalink

Hi Sujit,

Yes, it is possible to run build with parameter via REST API. Please see how to perform it:


Please sign in to leave a comment.