pyrundeck icon indicating copy to clipboard operation
pyrundeck copied to clipboard

Methods for gathering Job Definition

Open msilva14 opened this issue 3 years ago • 1 comments

Hello. I'm using the module in order to read the configured jobs in Rundeck, but there is a need to get the job's definition in order to validate some dynamic calls against the configured parameters.

So, I'd like to know how I could do to share with you the methods I created ( I cloned the Repository and I added get_job_def returning xml/yaml and get_job_meta returning xml ), to be able to use them and if possible to share those small developments too.

Thanks in advance for your answer.

best regards

msilva14 avatar Nov 10 '21 11:11 msilva14

Hi, thanks for your interest in sharing code.

Ideally, you'd open a merge request for this, this way I can review and merge your stuff.

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request

This can also all be done via the CLI using https://github.com/cli/cli

gh pr create

pschmitt avatar Nov 10 '21 11:11 pschmitt

Was implemented with the PR https://github.com/pschmitt/pyrundeck/pull/46

emersonyh avatar Aug 20 '24 17:08 emersonyh