jakobehn / VSTSGitHubTasks

MIT License
21 stars 10 forks source link

Use Service Reference for Token #9

Open jessehouwing opened 7 years ago

jessehouwing commented 7 years ago

Instead of including the token as a variable, I'd love it if we could use it from a Connected Service.

jessehouwing commented 7 years ago

Checked with VSTS team and they say this may make it into the work required for TFS 2017.1... That would be nice... But it still breaks every TFS server that's older... :(

jakobehn commented 7 years ago

Would be nice if we could detect TFS version from task and behave accordingly

jessehouwing commented 7 years ago

Can't in the UI. one task.json to rule them all. But a minimum agent version would work. Or provide a variable workaroud, like I do with the Snyk task now.