I am trying to automate my build using Jenkins
. My build process needs to execute three different shell scripts
. The first script sets some environment variables
which is used by the second and the third scripts.
I am trying with a pipeline
job in Jenkins where each script is executed stage by stage. However I am unable to get the environment variables from the first script to the next one.
NB: There is a set of variables that are being set.So I don't feel like using a simple variable will do.
Please help