Making changes and redeploying a plugin
Now that we have deployed the test plugin, it is time to add some proper logic, redeploy the plugin, and test it. Making the changes and redeploying a plugin is pretty easy. In this recipe, we will quickly look at how to do this.
How to do it...
You can make changes to the plugin and re-deploy it while the JIRA application is still running. Here is how we do it:
- Keep the JIRA application running in the window where we ran
atlas-run
. - Open a new command window and go to the root plugin folder where your
pom.xml
resides. - Run
atlas-cli
. - Wait for the message -
Waiting for commands...
. - Run
pi
.pi
stands for plugin install and this will compile your changes, package the plugin JAR, and install it into theinstalled-plugins ...
Get JIRA Development Cookbook - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.