Skip to content

stone-payments/vsts-task-stop-windows-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stop Windows Service VSTS task

A small task to stop a Windows Service that is running on the same machine as the VSTS agent that executes this task.

Useful to use when working with Deployment Groups in VSTS.

Requirements

Testing

To run unit tests execute the following powershell command at the test directory:

Invoke-Pester -Script .\tests\StopWindowsService.Tests.ps1 -CodeCoverage .\StopWindowsService.ps1

Build and Publish

To upload the task to an VSTS account, use the tfx-cli.

Login

tfx login --service-url https://youraccount.visualstudio.com/DefaultCollection

Enter your Personal Access Token.

Upload task

At the root of repository execute the following command:

tfx build tasks upload --task-path src

Contributing

Issues and pull-requests are welcome.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •