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

EnvInject is messing around with my TEMP variable when username contains a dollar sign

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: envinject-plugin
    • Labels:
      None
    • Environment:
      EnvInject 1.46
    • Similar Issues:

      Description

      My Jenkins slaves are using users starting with a dollar sign.

      The plugin seems to handle dollar sign with a special case because it is breaking my TEMP variable

      The normal value is C:\DOCUME~1\$NCESE~1\LOCALS~1\Temp
      But when using the plugin, it changes it to C:\DOCUME~1$NCESE~1\LOCALS~1\Temp (notice the removed \ before the $)

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Gregory Boissinot
            Path:
            src/main/java/org/jenkinsci/plugins/envinject/service/EnvInjectEnvVars.java
            http://jenkins-ci.org/commit/envinject-plugin/9f43a3a2ee2312c763c73e10281f4b1fc34f9106
            Log:
            Fix JENKINS-13566

            Compare: https://github.com/jenkinsci/envinject-plugin/compare/8645f86...9f43a3a

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/plugins/envinject/service/EnvInjectEnvVars.java http://jenkins-ci.org/commit/envinject-plugin/9f43a3a2ee2312c763c73e10281f4b1fc34f9106 Log: Fix JENKINS-13566 Compare: https://github.com/jenkinsci/envinject-plugin/compare/8645f86...9f43a3a
            Hide
            gbois Gregory Boissinot added a comment - - edited

            @Vincent
            Please could you give a comment to the issue JENKINS-15751?
            What are your opinion?
            Are your ready to double your slash (back from previous state), any strong impact for you?

            Show
            gbois Gregory Boissinot added a comment - - edited @Vincent Please could you give a comment to the issue JENKINS-15751 ? What are your opinion? Are your ready to double your slash (back from previous state), any strong impact for you?

              People

              • Assignee:
                gbois Gregory Boissinot
                Reporter:
                vlatombe Vincent Latombe
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: