Created
November 23, 2018 13:37
-
-
Save sandermvanvliet/77b14347dd1c6c97e085b7271095adce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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" | |
} | |
} |
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
In this case the
echo %ConnectionString%
will output$(connectionString)
rather than the value ofconnectionString