This command stops in progress build(s). Syntax - TfsBuild stop /collection:teamProjectCollectionUrl /buildDefinition:definitionSpec ...

This command stops in progress build(s).

Syntax -
TfsBuild stop /collection:teamProjectCollectionUrl
              /buildDefinition:definitionSpec buildNumber [buildNumber ...]
              [/noPrompt] [/silent]
   or
TfsBuild stop /collection:teamProjectCollectionUrl buildUri [buildUri ...]
              [/noPrompt] [/silent]
   or 
TfsBuild stop teamProjectCollectionUrl teamProject buildNumber
              [buildNumber ...] [/noPrompt] [/silent]

teamFoundationServer    The Team Foundation Server used for build(s).
definitionSpec          The specification of the build definition(s) containing
                        the build(s) to be stopped. Wildcards are supported.
buildNumber             The build number in the Team Project to be stopped.
                        Wildcards are supported.
buildUri                The build Uri to be stopped.
teamProject             The team project used for build(s).
[/noPrompt]             Do not prompt while stopping the build(s).
[/silent]               Do not write output to the console while stopping 
                        build(s). Implies /noPrompt.
English
English (United States)
Español (España)
Spanish (Spain)
Français (France)
French (France)
italiano
Italian
日本語
Japanese
한국어
Korean
Русский
Russian