Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. {
  2. "name": "Runner",
  3. "instanceNameFormat": "Run tests against $(systemEnvironment)",
  4. "inputs": [
  5. {
  6. "name": "appUrl",
  7. "type": "string",
  8. "label": "The application URL",
  9. "defaultValue": "$(systemEnvironment)-my-app.company",
  10. "required": true,
  11. "helpMarkDown": "The application URL `($appUrl)`"
  12. },
  13. {
  14. "name": "systemEnvironment",
  15. "type": "string",
  16. "label": "The environment",
  17. "defaultValue": "DEV1",
  18. "required": true,
  19. "helpMarkDown": "The environment the tests run against"
  20. }
  21. }
  22.  
  23. [CmdletBinding()]
  24. param(
  25. [string][Parameter(Mandatory=$true)] $appUrl)
  26.  
  27. my-power-shell-code
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement