Hi all, I would like to put some our own variables into jenkins job build environment variables during build execution. how could I do it? how to access the jenkins object model?
Saying, I have a job named A, and we run a java application as its step, in the java application, I need to put some own variables into the build environment variables during build execution, these variables might be transferred to downstream jobs by existing plugin. So, how to add variables into build env variables? what`s the extension points for that? I found BuildVariableContributor, might be it is the extension point to add my variables into build env, but when and how would it be triggered? since I need to trigger adding variables from my java application, how to do it? is it possible to get the handle of running build of given name job? Thanks for any clues. Thanks Regards, Grrison -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/e26525de-bcf8-4e38-bcf7-ee0477ea5960%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
