custom-tools-plugin icon indicating copy to clipboard operation
custom-tools-plugin copied to clipboard

[JENKINS-53146]Adding ENV variables to build

Open alexanderrtaylor opened this issue 6 years ago • 6 comments

Adding HOME ENV variables to build.getEnvironments so that plugins can pull in the homes of custom tests if needed

I am not sure how to develop tests though..... I needed another plugin to prove this was fixed. Anyone have suggestions? Otherwise the actual issue is fixed @reviewbybees

alexanderrtaylor avatar Dec 31 '18 19:12 alexanderrtaylor

Can you describe how you tested this manually?

recampbell avatar Jan 03 '19 14:01 recampbell

It seems like we need some tests which validate that environment variables provided by build#getEnvironment

recampbell avatar Jan 03 '19 14:01 recampbell

@oleg-nenashev Do you have time to give this a 🐝 ?

alexanderrtaylor avatar Jan 30 '19 15:01 alexanderrtaylor

I checked to see if the tools had been defined in the last commit which means it should be checking for the build wrapper before injecting and it works even while the build does not inject any custom tools.

alexanderrtaylor avatar Mar 11 '19 15:03 alexanderrtaylor

@oleg-nenashev do you have time to give this a re-review? I am trying to figure out if just checking if the custom tools are configure is sufficient to prevent this chicken/egg problem or if there is something else I should be looking for

alexanderrtaylor avatar Mar 28 '19 20:03 alexanderrtaylor

Hi. Sorry, no plans to work on this plugin till May at least. Feel free to take ownership if needed

On Thu, Mar 28, 2019 at 9:47 PM Alex Taylor [email protected] wrote:

@oleg-nenashev https://github.com/oleg-nenashev do you have time to give this a re-review? I am trying to figure out if just checking if the custom tools are configure is sufficient to prevent this chicken/egg problem or if there is something else I should be looking for

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jenkinsci/custom-tools-plugin/pull/33#issuecomment-477764928, or mute the thread https://github.com/notifications/unsubscribe-auth/AC3IoGYono99PjMDHqh8A0QybLFWBk25ks5vbSpxgaJpZM4Zlm6C .

oleg-nenashev avatar Mar 28 '19 20:03 oleg-nenashev