Closed b-sarrazin closed 6 months ago
No more errors by removing this parameter: --autopilot
The --autopilot
command doesn't really have anything to do with the PDF generation, what is in your pdfconfig.json
?
I have also seen timeouts in the PDF generation even if the timeout is configured to 0
in puppeteer, unfortunately out of IntuenCD's control.
The problem seems to appear irregularly because, once again, my last two runs failed.
I haven't touched the pdfconfig.json file. Am I supposed to have this file populated in my Azure DevOps repository?
The pdfconfig.json
is used to configure how the output PDF will be formatted as well as some puppeteer configurations, according to your pipeline, it should be located in the $(Build.SourcesDirectory)/md2pdf/pdfconfig.json
path.
If you are encountering puppeteer timeout issues like it seems you are, you can add a configuration to this file to disable the timeout.
The problem seems to be resolved after adding the md2pdf folder (and the pdfconfig.json file) to my repository.
Thank you for the help and this top backup solution :)
Describe the bug My pipeline goes into error during the "Convert markdown to PDF" step (see screenshot 1). Despite the validation of the "Convert markdown to HTML" step, the errors seem to start at this step (see screenshot 2)
To Reproduce I get this error every time I launch the pipeline.
Expected behavior The pipeline completes without errors.
Screenshots
Run type (please complete the following information):
Additional context Contents of my azure-pipelines.yml file :