-
Bug
-
Resolution: Unresolved
-
Minor
-
JENKINS Linux Master with slaves
Hi
I really don't know if this was fixed or exist a way to set the execution order of the different plugins in JENKINS.
I wan to set multiple environment variables using a property file from my repository, i have set the property file to load in Build Environment section, but one of the action i want to tdo is generate JIRA release notes based in one of the env variable. The issue i'm having is that the JIRA plugins runs before than the "Inject environment variables to the build process".
Exists any way to move the execution of "Inject environment variables to the build process" as a first action of the "Build Environment" section of JENKINS. The nature of this plugins is to execute before any other plugin to set the environment, now is useless with other actions. I'm providing a screen shoot in order to visualize my problem.
Will be great to run this plugin action at the beginning of the "Build Environment" JENKINS section.
Regards
In the screen shoot you can see, the JIRA Release notes action will be executed before that the environment variable is created, I'm creating the environment variable ${JiraBuild} from the build.property file and should be loaded from the repository. I need to run first "Inject environment variables" and then the other plugins actions.
I believe JENKIINS run actions ordered by name in this section; Instead of set the name of the action to "Inject environment variables to the build process" could be changed to a name starting with the letter "A" could be "Add/Inject environment variables to the build process". Don't know if this could make this action to be placed on top of the list.