Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-21772

Use of CLI login command resets Jenkins after restart when using default JENKINS_HOME

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • cli, core
    • None
    • 1.552-SNAPSHOT

      Steps to reproduce:

      1. java -jar jenkins.war with no explicitly defined JENKINS_HOME has the default $HOME/.jenkins (unless $HOME/.hudson exists)
      2. Run java -jar jenkins-cli.jar … login, creating $HOME/.hudson/cli-credentials on the server
      3. Restart Jenkins, and it'll init with an empty home, as now $HOME/.hudson exists and is preferred to $HOME/.jenkins!

            danielbeck Daniel Beck
            danielbeck Daniel Beck
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: