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

Powershell plugin does not seem to support dot sourcing

      When attempting to dot source a powershell file from source control, I get the following message:

      '.' is not recognized as an internal or external command, operable program or batch file.

      I am attempting to source the file with:

      . .\jones-tests\scripts\taskManager.ps1
      

          [JENKINS-37385] Powershell plugin does not seem to support dot sourcing

          I removed the post-build action from my Jenkins job this morning. After re-adding the job, dot sourcing seems to work just fine.

          This leads me to believe that my issue was actually user error.

          Mathew Miehling added a comment - I removed the post-build action from my Jenkins job this morning. After re-adding the job, dot sourcing seems to work just fine. This leads me to believe that my issue was actually user error.

          mmiehling would it be possible for you to confirm this? If so, could you close the issue?

          Manuel Cardenas added a comment - mmiehling would it be possible for you to confirm this? If so, could you close the issue?

          Mathew Miehling added a comment - - edited

          User Error.

           

          Sorry about that, didn't even realize I could close my own issue.

          Mathew Miehling added a comment - - edited User Error.   Sorry about that, didn't even realize I could close my own issue.

            Unassigned Unassigned
            mmiehling Mathew Miehling
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: