It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Script Runner Script Plugin Deployment Edited

NasAmin Apr 25, 2018

Hi,

 

We have written a Script Plugin based on this guide by Adaptivist Script Runner.

The plugin is basically to enforce some pull request checks e.g. branch name with valid jira ticket id, valid ticket status, merging to master/release branch checks etc.

All of these are in plain groovy scripts. These scripts are available from the File tab of the ScriptConsole on the development server. I can just type the name of the script and it finds it. but it doesn't happen on the production server. 

How do I deploy my plugin to the production server? Is it just an upload of an Add-On or do I have to copy the jar file somewhere?

If I install my jar as an Add-On, it isn't shown as enabled. How do I make sure all of my dependencies are packages in the jar file?

The Bitbucket example provided doesn't have much in it. Is there more to be done in the pom and atlassian-plugin.xml file to be able to deploy this plugin successfully to a production server?

 

Can someone from Adaptivist help please?

 

 

2 answers

2 votes
Carmen Creswell Jun 07, 2018

Hi! If you are still having issues, I would recommend looking at this article

Nasir Amin Jun 07, 2018

No thanks, I had resolved the issue by following official Atlassian documentation about plugin development.

0 votes
Nasir Amin Jun 07, 2018

No longer an issue, just needed to follow Atlassian plugin development documentation to deploy my plugin.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

860 views 12 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you