Azure DevOps Extensions
WIKI PDF Generator
Platform
Azure DevOps Services
Azure DevOps Server (TFS) Version
All versions
Extension Version
No response
Describe the bug
On MacOs there is an intermittent error after downloading the exe
Starting download azuredevops-export-wiki-osx to /Users/runner/work/_temp
##[error]Forbidden
##[error]Forbidden
(node:1745) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, chmod '/Users/runner/work/_temp/azuredevops-export-wiki-osx'
Downloaded executable /Users/runner/work/_temp/azuredevops-export-wiki-osx
at Object.chmodSync (fs.js:1027:3)
Set execute permission on executable /Users/runner/work/_temp/azuredevops-export-wiki-osx
at /Users/runner/work/_tasks/WikiPdfExportTask_48d40d27-32e1-460e-8ea6-0dfb48abdd6f/2.6.2/ExportFunctions.js:135:20
at Generator.next (<anonymous>)
at fulfilled (/Users/runner/work/_tasks/WikiPdfExportTask_48d40d27-32e1-460e-8ea6-0dfb48abdd6f/2.6.2/ExportFunctions.js:5:58)
(node:1745) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1745) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
This this the same as MaxMelcher/AzureDevOps.WikiPDFExport # 108
Repo Steps
- Run a pipeline that includes the task on a Mac
- On around 50% fail with the error
Note: never seen on other OS
Expected Behavior
Task should always run
Logging Information
No response
Azure DevOps Extensions
WIKI PDF Generator
Platform
Azure DevOps Services
Azure DevOps Server (TFS) Version
All versions
Extension Version
No response
Describe the bug
On MacOs there is an intermittent error after downloading the exe
This this the same as MaxMelcher/AzureDevOps.WikiPDFExport # 108
Repo Steps
Note: never seen on other OS
Expected Behavior
Task should always run
Logging Information
No response