Some of the Environment Variables are not expanding properly

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: xshell-plugin
    • Environment:
      Server in Win 7 and Client also in Win 7, Multi-configuration Project
    • 120.v1307d168def8

      Environment variables are not expanding properly in XSHELL command
      Ex:
      In Xshell, if i give a command as below,

      python test.py "$WORKSPACE/sdkljnkjndj/sdkgjnkdjnbg" "http://idc-ws-isparbs.mchp-main.com:8080/job/$JOB_NAME/$BUILD_NUMBER"

      and if i print the parameters in test.py, I get the following

      '%WORKSPACE\\sdkljnkjndj
      sdkgjnkdjnbg%'
      'http://idc-ws-isparbs.mchp-main.com:8080/job/%JOB_NAME/25%'

      I also get few '%' characters appended to the output

      I was expecting the output as

      'C:\\WS\\sdkljnkjndj
      sdkgjnkdjnbg'
      'http://idc-ws-isparbs.mchp-main.com:8080/job/test_job/25'

            Assignee:
            Unassigned
            Reporter:
            Shankar R
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: