The UploadReportToAzureDevopsWiki VSTS task uploads report files as attachments to an Azure DevOps wiki. This serves for example to centralize dependency check reports or ZAP OWASP scans among other purposes.
Documentation
Prerequisites:
The project must have a wiki created.
If you do not have a wiki created please create one as seen in the image. Press Create project wiki.
Token user: User token with write permissions in the azure devops wiki.
UploadMultipleFiles: Upload multiple files Yes/No
If 'No' is selected:
Attachment name: File name with extension to be uploaded to the wiki as an attachment.
Path where the file (Attachment Name) is located: Path where the file (Attachment Name) is located. Without entering the file name.
Page Wiki Name: Name of the wiki page to be created. For example it could be: OWASP-ZAP/MyAppNameResult.
If 'Yes' is selected:
Attachment Names: Path where files with name and extension separated by ',' are located to be uploaded to the wiki as attachments.
Page Wiki Names: Name of the wiki pages to be created separated by ','. For example, it could be: DependencyCheckReport/MyAppNameResult,SonarMetrics/MyAppNameResult