plone / plone.jenkins_server

Provisioning for a Jenkins CI server with Nginx for Plone projects.
1 stars 3 forks source link

Add user and password to interact with jenkins #12

Closed gforcada closed 7 years ago

gforcada commented 9 years ago

If you do an install from scratch this step by step instructions work: http://jenkinsploneorg.readthedocs.org/en/latest/setup.html

But if you try to run it again it fails as jenkins now is configured with authentication, while ansible-jenkins expects anonymous user to have permission to do everything.

Fortunately we are not the first ones to notice it: https://github.com/ICTO/ansible-jenkins/issues/21 and fortunately, despite the bug still being open is already fixed: https://github.com/ICTO/ansible-jenkins/pull/22

We need to add credentials somewhere so that either anonymous or authenticated we can run the playbook on jenkins.

If not the only current workaround is to disable authentication completely on jenkins and run the playbook (which restores the authentication also).

gforcada commented 7 years ago

No longer relevant as we switched ansible role for jenkins