Re: Get return value from Powershell (Using windows batch command)

2014-03-11 Thread Daniel Beck
Use the 'Environment Injector' plugin. It allows you to load variable definition from a (Java .properties) file into the job environment. Example: -- First build step: Windows batch command: echo foo=bar > env.properties Second build step: Inject environment variables: Properties File Path: env.

Re: Get return value from Powershell (Using windows batch command)

2014-03-11 Thread Kake
Help... kl. 08:56:38 UTC+1 fredag 28. februar 2014 skrev Kake følgende: > > Hi > > Using Jenkins to execute some scripts in a continuous integration task. > I have a job who copies some files to a folder, the name of the folder is > dynamically created. I wish to get the name of the folder.. bac

Get return value from Powershell (Using windows batch command)

2014-02-27 Thread Kake
Hi Using Jenkins to execute some scripts in a continuous integration task. I have a job who copies some files to a folder, the name of the folder is dynamically created. I wish to get the name of the folder.. back from my script. The script is executed using "windows batch command", i.e. set