I want to pass some environment variables(production/development/staging) to the plugin, based on which it will function accordingly.
I want to pass them while doing atlas-run and atlas-package and retrieve it in Java. How can I do that?
Hi,
Not a real expert but have some experience with plugins, I don't think it's feasable as the atlas-run command is meant to start a local SDK Jira instance, there's no direct link with your final addon here. Plugin Data might not come from anything external to its container (Tomcat), to be confirmed by advance experts but that would be my 5 cents!
Hope this helps!
Cheers
I want to load property files(which includes some config, urls) based on environment. There should be a way to load appropriate property file based on environment, since hardcoding environment in codebase is not a good approach
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.