Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

jira configure tests server for plugin development

I'm developing a plugin, I've configured dbconfig.xml with our sql server test server. Everything works fine except that when I do an altas-clear I have to copy again the file by hand and reinstall all the plugins and copy by hand jtds drivers, is there a way to do that automatically?

1 answer

1 accepted

0 votes
Answer accepted

Hi Angelo,

Copying files is something you can integrate in your build proces. Maven has a plugin that allows you to copy files from one directory to another:

http://evgeny-goldin.com/wiki/Copy-maven-plugin

You can for instance store the dbconfig.xml in a temp directory and include it in your target directory once the clean step has been done.

the anwer is perfect for the original question but I modified it to add the need of having a series of plugins installed

Can you give more information on you project structure? Do you wanna install multiple plugin-ins within the same project? Does each plugin had it's own project and separate maven config?

Hi Angelo,

Have a look at this tool:

https://developer.atlassian.com/display/DOCS/atlas-create-home-zip

This command allows you to create a zip from your current JIRA home directory and your zip package will be deployed everytime you run your JIRA server with: atlas-run.

Just make sure that your dbconfig.xml is also packaged in the JIRA home directory zip and it will be available when needed.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Happy New Year and Welcome New Marketplace Partner Program Partners!

Happy New Year! We hope you all had a safe and restful holiday season. 2020 was a unique year full of unforeseen events; however, as we enter the new year of 2021, we’re optimistic for the light at t...

755 views 7 24
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