jenkins_job: extend integration tests (#17558)

pull/17562/head
René Moser 8 years ago committed by GitHub
parent da4c3ebeac
commit 28feba2fb3

@ -13,6 +13,21 @@
that:
- result|success
- name: test fail on missing params
local_action:
module: jenkins_job
name: test.job
url: "{{ jenkins_url }}"
user: "{{ jenkins_user }}"
password: "{{ jenkins_password }}"
register: result
ignore_errors: true
- name: verify test fail on missing params
assert:
that:
- result|failed
- 'result.msg == "one of the following params is required on state=present: config,enabled"'
- name: test create a job
local_action:
module: jenkins_job

Loading…
Cancel
Save