Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (12 sloc) 411 Bytes
---
- name: Calling Groovy script {{ script_name }}
uri:
url: "http://localhost:{{ nexus_default_port }}{{ nexus_default_context_path }}service/siesta/rest/v1/script/{{ script_name }}/run"
user: 'admin'
password: "{{ current_nexus_admin_password }}"
headers:
Content-Type: "text/plain"
method: POST
status_code: 200,204
force_basic_auth: yes
body: "{{ args | to_json }}"