JENKINS_HOME is set different on trigger manual build

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: envinject-plugin
    • None
    • Environment:
      Windows 2008 R2

      I have installed Jenkins 2.20 and found today when I build a job manual that JENKINS_HOME is different as when it triggered by tfs plugin version 3.2.0.

      On manual run is it:
      H:\Jenkins

      On automatical run is it:
      H:\Jenkins\

      In case it is a TFS plugin bug and is already fixed, I wanna only now what is the right one.

      edit: Maybe I am wrong but maybe is it since Jenkins version 2.22 for all builds, and has nothing to do with manual triggering.
      edit2: now I have 2.23 installed and found that a new created matrix job (previous was not a matrix job) was success first today and after a SCM change not

      now the correct one:
      for manual build:
      HUDSON_HOME=H:\Jenkins
      JENKINS_HOME=H:\Jenkins\

      for automatic build:
      HUDSON_HOME=H:\Jenkins
      JENKINS_HOME=H:\Jenkins

      my SCM trigger is tfs plugin version 3.2.0

            Assignee:
            Unassigned
            Reporter:
            Ronny Borchert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: