New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add jenkins_job_facts module #35346
Add jenkins_job_facts module #35346
Conversation
The test
The test
|
1507462
to
24fc514
Compare
The test
|
24fc514
to
7061b35
Compare
The test
The test
The test
The test
The test
The test
The test
|
7061b35
to
c1bc259
Compare
@Slezhuk @agmezr @berendt @felixfontein @ghjm @hogarthj @inetfuture @jhoekx @jlaska @jtyr @lekum @matburt @mattupstate @mgruener @n0trax @nerzhul @oboukili @ramondelafuente @robinro @scottanderson42 @sermilrod @tarka @tastychutney @wwitzel3 As a maintainer of a module in the same namespace this new module has been submitted to, your vote counts for shipits. Please review this module and add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs_revision
jobs: | ||
description: All jobs found matching the specified criteria | ||
returned: success | ||
type: string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it a string or a list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
||
# Get facts about jobs matching a shell glob using basic auth | ||
- jenkins_job_facts: | ||
name: some-job-* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this use the glob param?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
a short tests without valid credetials shows a traceback which should be catched.
|
works for me otherwise, probably one nice feature would be to query by "color" |
The test
The test
|
tested, works for me. shipit |
* Add jenkins_job_facts module * Fix docs * Fix connection error handling * Add support for filtering by color * Miscellaneous code cleanup * Spell out "underscore" in comment * Update required state in docs
SUMMARY
Adds a new module,
jenkins_job_facts
, that can be used to discover existence and some basic information about existing Jenkins jobs.ISSUE TYPE
COMPONENT NAME
jenkins_job_facts
ANSIBLE VERSION