Skip to content

Instantly share code, notes, and snippets.

@sandermvanvliet
Created November 23, 2018 13:37
Show Gist options
  • Save sandermvanvliet/77b14347dd1c6c97e085b7271095adce to your computer and use it in GitHub Desktop.
Save sandermvanvliet/77b14347dd1c6c97e085b7271095adce to your computer and use it in GitHub Desktop.
{
"environment": {
"ConnectionString": "$(connectionString)"
},
"displayName": "Run database migrations",
"alwaysRun": false,
"continueOnError": false,
"condition": "succeeded()",
"enabled": true,
"timeoutInMinutes": 0,
"inputs": {
"script": "echo %ConnectionString%",
"workingDirectory": "$(System.DefaultWorkingDirectory)/",
"failOnStderr": "false"
},
"task": {
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
"versionSpec": "2.*",
"definitionType": "task"
}
}
@sandermvanvliet
Copy link
Author

The UI also doesn't "see" that I've used a parameter there, so it won't automatically add a parameter on the task group level like it would do if you put a parameter in the workingDirectory or script part for example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment