Regarding jenkins plugins

71 views
Skip to first unread message

routpri...@gmail.com

unread,
Nov 10, 2017, 12:05:02 AM11/10/17
to Ansible Project
Hello ,
 
       I am trying to  add jenkins plugins using playbook .
       playbook is  like this ---
     - hosts: "{{ target }}"
       tasks:
         - name: Install plugin
            jenkins_plugin:
              name: build-pipeline-plugin
              url_password: welcome1
              url: http://localhost:8080
 Error:fatal: [10.16.41.21]: FAILED! => {"changed": false, "details": "HTTP Error 403: Forbidden", "failed": true, "msg": "Cannot get CSRF"}
        to retry, use: --limit @/root/jenkinsplugin.retry

Reply all
Reply to author
Forward
0 new messages