Adding Existing Qualitia Projects to Bitbucket Repository
After you clone the repository, you can now add your existing Qualitia projects to the Bitbucket repository.
This is a one-time activity for each of the existing Qualitia project. Once the project is added to the repository, all the changes made to the repository are automatically updated by Qualitia. This activity has to be performed by Qualitia Admin user.
At the end of this topic, Qualitia user will be able to add existing Qualitia projects to the bitbucket repository.
To add existing projects to Bitbucket repository:
- Navigate into the folder where you have cloned the repository.
- Move your existing project folder (<ProjectName>_projectdb) to this location.
You can get this folder at the location specified in Setting> Configuration Setting > Dependency > Project Path. - Launch SourceTree.
- On the left hand side, expand Branches and then Checkout master branch.
- Create a new branch with your Qualitia Project name.
To create a new branch:- Click Branch > New Branch.
- Enter New Branch name.
- Ensure that Checkout New Branch option is selected.
- Click Create Branch.
- After creating a branch, right-click the branch and select Push > Origin.
Stage all files except (.gitrefresh) and add comments, if required.
The .gitrefresh file is generated and used by Qualitia for the internal purposes. Please do not add this file into the remote repository while adding your project artifacts.
- Select Push changes immediately option and click Commit.
- Now copy the directory path of the repository (from local system) and set it as Qualitia Project Path (in Configuration Setting > Dependency).
- Also, in Configuration Setting > General, select Version Control as GIT and add Bitbucket username and password.
- Restart Qualitia to start working on the projects that are integrated with Bitbucket repository.