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.
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
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