Open aligneddev opened 6 years ago
Hi @aligneddev,
thanks for the suggestion! We want to improve the CI documentation part with other services so this one makes total sense. Do you think the jsdom output will be more useful than summary + HTML formatter and drop the artifacts somewhere?
@sarvaje, I believe Fran did something like this in your company. Can you please check with him? Maybe we can reuse that?
I don't have experience with the VSTS extensions to know what is possible, but as a developer I'd like to see that html output in the build results. That would be cool.
I think it would also need to spit out the json results, so the extension could fail the build if there were x.
x could mean any security issues, or interoperability or other issues that the teams deems critical.
I will talk with Fran to see if what He has.
Some documentation about extensions and gates:
Looks like we will have to create an account to publish it and probably an @outlook.com account to sign up.
I have talk with Fran but he doesn't have nothing finished. He was trying to run webhint using existing task, but he think (and I) the best solution would be create a new extension that do everything instead to force the user to use few other extensions.
It'd be great to have a Webhint VSTS task that I can pull in for my VSTS Release management.
I propose that the JSON formatter could be returned and then be used as an output to report in the build summary or to even stop a build.
I think that a release gate may be an option or to allow that task to fail if certain conditions. The conditions would lead to some type of configuration that would need to be hashed out into requirements.
As with an idea in the open source world, you probably wish I would just create it. Unfortunately, the best I can contribute is this idea to the community.
Thanks,
Kevin