Running Robohelp command line in Jenkins agent
tldr; Robohelp 2020 and later does not work in a Jenkins agent. Robohelp 2019 classic does. What am I doing wrong?
We use Jenkins to automate our software build and deployment process. Generating the user manuals (authored using Robohelp) is also part of this process.
With Robohelp 2019 classic this works fine. The Jenkins agent invokes the Robohelp command line compiler similar to how a user would invoke the command line using a command shell or script and the manuals are generated.
In Robohelp 2020 and later this no longer works as the process appears to be hanging indefinitely during start up. Not even the
Adobe (R) RoboHelp
Copyright (C) 1992-2022, Adobe Inc and its licensors. All rights reserved.message is displayed. Tested with RoboHelp 2020.5.71 and RoboHelp 2022.0.346.
When looking at the task manager, the various Robohelp processes that are also spawned when manually running the command line are present, so it gets that far at least.
I suspect this has to do with the new Robohelp being an Electron application which in general requires some sort of display to be present. I know there are ways to run headless Electron apps (for example, the `--headless' and `--disable-gpu' options), but I'm not familiar enough with it to know how to apply this to Robohelp, of if this is even possible to do as an end user.
I will also contact support with this question, but I'm curious to see if other users have similar problems or if this is a case of user error or misconfiguration.
