Closed cocoon-project closed 9 years ago
and also
- name: jenkins-plugins | Install Jenkins plugins.
- command: java -jar {{jenkins_home}}/jenkins-cli.jar -s http://{{jenkins_http_host}}:{{jenkins_http_port}}/ install-plugin {{item}} creates={{jenkins_home}}/plugins/{{item}}.jpi
+ command: java -jar {{jenkins_home}}/jenkins-cli.jar -s http://{{jenkins_http_host}}:{{jenkins_http_port}}{{jenkins_prefix}} install-plugin {{item}} creates={{jenkins_home}}/plugins/{{item}}.jpi
with_items: jenkins_plugins
- ignore_errors: yes
+ ignore_errors: no
notify: jenkins restart
Fixed.
in configure.yml
get_url should be as below (missing prefix)