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

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

2017-03-29 Thread VikS
of a remote path still be possible on a slave without users logged on? On Monday, March 27, 2017 at 9:32:25 PM UTC+8, slide wrote: > > 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 >

Using extended choice parameter in Jenkins

2017-03-09 Thread VikS
-3 down vote favorite I would like to create an Extended Choice Parameter option and for the choices to be listed from a text file? Would it be possible and if yes, how can i achieve that? [image: Imag

Re: Using extended choice parameter in Jenkins

2017-03-09 Thread VikS
t;https://wiki.jenkins-ci.org/display/JENKINS/Active+Choices+Plugin> > instead. A simple Groovy script can be used to read the text file and > return a list of the choices. > > On Thursday, March 9, 2017 at 6:31:36 AM UTC-5, VikS wrote: >> >> -3 down vote favorite >

Re: Using extended choice parameter in Jenkins

2017-03-19 Thread VikS
ur text file contains an option you want to > display, try something along these lines for the Active Choices groovy > script: > def choices=[] > textFile= new File("C:/temp/applicationlist.txt") > textFile.eachLine{ > choices.add(it) > } > return choices > &