Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature Request - Support JOB Markdown output #2325
I would love for job's to be able to output markdown output text and have rundeck render it as pretty html.
It would be great if jobs could either be marked as outputting markdown or some sort of dynamic detection of Markdown output (perhaps by outputting a special line that "notifies" rundeck that the markdown "mode" is turned on.
I would definitely be interested in "live" markdown support.
In my mind this play a long with a larger feature, that would mimic TeamCity Service Messages
The basic idea would be that "stuff" running under rundeck could detect rundeck's presence by testing something like a
Once it's detected, the scripts running can output various messages that customize the UI / Behaviour of rundeck a-la the service message bus mechanism of TeamCity.
For example a script could output something like:
Could alter run-decks step title dynamically from within a script
Or something like:
Could toggle markdown interpenetration/rendering of the rest of the output...
nb: rundeck 2.9 will support this with "Content converter" and "Log Filter" plugins. the 2.9 beta has this feature.
You can use the built in "Render Formatted Data" log filter plugin, to mark output from a step as markdown data. Then Rundeck will use a "content converter" which knows how to render Markdown to display it in the gui.
You can mark all output from a step with a certain data type, or you can use this syntax:
You can mark the section as ending by echoing: