1

As part of the build process I'd like to run some security checks.

I have the security tools and config stored in a Docker container, as part of the build I'd like to run this container and gather the results (exit code).

I've managed to do this with Jenkins but can't seem to figure out how it's done on Azure VSTS.

I've had a play around with Azure container services and registry with the VSTS docker plugin but still no joy.

Any ideas or advice would be appreciated.

Gman010
  • 21
  • 1

1 Answers1

0

A way is that you can fetch the logs of a container through docker logs command.

Another way is that you can output the result to a file and access the data from that file. A similar thread: Redirecting command output in docker.

starian chen-MSFT
  • 33,174
  • 2
  • 29
  • 53