Re: Jenkins + PowerShell Script that takes screenshot of a remote folder

2017-03-29 Thread VikS
Got it and I have setup a Jenkins slave which is not running as service. I have tried multiple modification to my script but the screenshot does not work. In summary, this is what I'm trying to do with powerrshell: Jenkins Slave -> launch the remote path of the folder that needs to be screen ca

Re: Jenkins + PowerShell Script that takes screenshot of a remote folder

2017-03-27 Thread Slide
Windows services can't interact with the desktop. This feature went away in Vista. You would need to run the agent as a non-service for the screenshot to work. On Sun, Mar 26, 2017, 22:37 VikS wrote: > We have a build which requires us to replace files to a newer version on > remote computers an

Jenkins + PowerShell Script that takes screenshot of a remote folder

2017-03-26 Thread VikS
We have a build which requires us to replace files to a newer version on remote computers and the requirement is the script needs to take screenshot of the folder for validation. We have built our ps script and it does what is needed when executed outisde of Jenkins but not when scheduled with J