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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,635
Community Members
 
Community Events
176
Community Groups

How to test plugin written for older bitbucket server version on latest version of server?

Edited

Hello friends,

 

I have a plugin which was written(using SDK) for bitbucket server version 6.6.1.

Now we intend to upgrade our bitbucket server to the latest.

The compatibility check says that the state for this plugin after the server update is "Unknown", which is expected.

My query is that how to check if this app is compatible with the latest version of bitbucket server.

Is there a way to ensure that the plugin works before the upgrade?

Any help is highly appreciated.

 

Thanks and Regards

Aditya

3 answers

2 accepted

1 vote
Answer accepted

Hi @avsaditya, you can use the Atlassian SDK to change the Bitbucket versions:

https://developer.atlassian.com/server/framework/atlassian-sdk/atlas-run/

 

atlas-run —-product bitbucket —-version 7.0.6 --DskipTests

It might be a good idea to run a "clean" command first before you change to a different major version: https://developer.atlassian.com/server/framework/atlassian-sdk/atlas-clean/

 

Maciej Adamczak

Atlassian Developer

0 votes
Answer accepted

Tested it in the below two different ways:

1. Compile the sources with the latest/appropriate development SDK.

Test if it works as expected.

This might be tedious and require some fixing but is the fool proof way.

2.Download the plugin jar from the below path:

atlassian/application-data/bitbucket/shared/plugins/installed-plugins/

Request for an evaluation of the version you wish to upgrade to.

Load the jar directly and check if it works.

Easy to check but if the plugin fails for some reason, you still have to go back to step 1 and fix the errors.

Tested like mentioned below.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events