Re: Powershell script runs fine locally, but when ran via Jenkins...

2016-09-13 Thread aaron . trujillo
Thanks for the reply, Yes Jenkins has full administrative rights on the system. When I remote into the machine using the Jenkins credentials, I have no problem accessing any of the desired files. I am leaning more toward the possibility of it being a compatibility issue. It seems there might

Re: Powershell script runs fine locally, but when ran via Jenkins...

2016-09-13 Thread Nico Schmoigl
Hi Aaron, just out of the blue: Are these two different users which you are referring to? I.e. do you run your Jenkins server/slave with the same user as with the user you are logging on and testing whether the folder exists? If not, then you should check whether the Jenkins user is also author

Powershell script runs fine locally, but when ran via Jenkins...

2016-09-12 Thread aaron . trujillo
As the title states, when i run this powershell script locally it runs just fine, but when i try to run it through as a Jenkins job it fails and says that the path can not be found because it does not exist, clearly the path exists as it can be ran locally. The code is as follows: > $FilePath =