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

Jenkins 396 still uses $(user.home)/.hudson as default when ran using executable war (java -jar jenkins.war)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      Afte moving my ~/.hudson to ~/.jenkins and starting jenkins using

      java -jar jenkins.war

      I've noticed jenkins 1.396 wasn't picking the new location.

      Issue seems to come from http://grepcode.com/file/repo1.maven.org/maven2/org.jvnet.hudson/executable-war/1.17/Main.java#Main.getHomeDir%28%29

      the getHomeDir is duplicated in the org.jvnet.hudson:executable-war Main class, causing winstone to extract the war before using the core/src/main/java/hudson/WebAppMain.java class

        Attachments

          Activity

          lacostej lacostej created issue -
          btrim btrim made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          btrim btrim made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          lacostej lacostej made changes -
          lacostej lacostej made changes -
          Summary Jenkins 396 still uses $(user.home)/.hudson as default Jenkins 396 still uses $(user.home)/.hudson as default when ran using executable war (java -jar jenkins.war)
          kohsuke Kohsuke Kawaguchi made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 138802 ] JNJira + In-Review [ 188149 ]

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            lacostej lacostej
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: