0

Installed Jenkins 2.39 on Debian as per http://pkg.jenkins-ci.org/debian/. Opened it in browser (Firefox) and it's asking for credentials from the log file; copied and pasted that password but it doesn't work. Disabled useSecurity (and friends) in /var/lib/jenkins/config.xml, restarted Jenkins but to no avail: it still asks for password and it overwrites all changes to config.xml. The config.xml is clobbered even when chown'd to root and set to read-only (444) access. Any ideas how to get out of that hole?

UPDATE: apparently an obscure file has to be created in JENKINS_HOME directory with the contents 2 as described at this link. User friendliness at its peak.

Community
  • 1
  • 1
user5972998
  • 131
  • 1
  • 9
  • `Any ideas` - does your username contain letters in uppercase? – Gluttton Jan 03 '17 at 11:57
  • Are you having a look to the relevant Jenkins home folder? Did you set a JENKINS_HOME environment variable? – Bruno Lavit Jan 03 '17 at 15:11
  • @BrunoLavit the default for JENKINS_HOME is supposed to be `/var/lib/jenkins` which seems to work fine because file time stamps get updated there after a restart. Manually setting this variable in `/etc/init.d/jenkins` didn't make a difference. – user5972998 Jan 03 '17 at 21:22
  • @Gluttton guess you are referring to Jenkins username which would be configurable **after** a successful login? The service itself runs under `jenkins` account. – user5972998 Jan 03 '17 at 21:26

0 Answers0