I'm currently developing a jira plugin which requires to install python on plugin installation.What is the best approach for this.
I don't think you are on right track.
Best way I see is ask user to setup python runtime after plugin installation.
One more out the box solution here will be using jython-standalone (Jython is python interpreter written in Java).
Thank you for the quick reply .I have developed a plugin which uses python and this is required to be deployed in an environment which has no internet access.So an separate python installation is not an option.Is there any other way to install python during plugin installation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As a system administrator, NO!
Never install something like a new language on a server like this. If you did this on any system I looked after, I'd <do bad things to you, use your imagination and then make it worse>. It's a vile security hole, and exactly the sort of thing black-hat hackers do.
Either include a jython library into your app (so that it's ring fenced within Jira), or document how to install Python so that your app can use it. Or, best, use a technology already in Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I can not give you a complete solution because it will take more time, than I can afford. But I would look in Jython.
You can add this dependecny to your plugin and use it:
<dependency>
<groupId>org.python</groupId>
<artifactId>jython</artifactId>
<version>2.7.0</version>
</dependency>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!
Join an Atlassian Community Event!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.