Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
After you clone the repository and completed initial commit, you can now add the Qualitia projects to Bitbucket repository. You can enter following commands using Git Bash to add your project (with artifacts like Tasks and Test cases) to the bitbucket repository.
Each project added to the Bitbucket repository is treated as a separate branch. This makes tracking changes made to Qualitia artifacts easier.
Info |
---|
The project, which you are adding to Bitbucket repository, should have at least one task and one test case. Empty projects cannot be added to the Bitbucket repository. This is a one-time activity and has to be performed for all the existing Qualitia projects. |
To add Qualitia Project to the Bitbucket repository:
- Navigate to the folder where you have cloned the repository.
- Move your existing project folder (<ProjectName>_projectdb) to this location.
You will get this location in Qualitia Configuration Settings > Dependency > Project Path. - Launch Git Bash.
Checkout Enter the following command to checkout the master branch before branch before you create add a new branch for the project to be added onto that you want to add into GIT repository. Use the following command to checkout master .
Code Block $ git checkout master
To create Enter the following command to add a separate branch in the Bitbucket repository to store the project, enter the following command.
Code Block $ git branch <project name>
To Enter the following command to checkout this newly created branch on the local system, enter the following command.
Code Block $ git checkout <project name>
To Enter the following commands to add the projects artifacts into the bitbucket repository, enter the following commandsBitbucket repository:
Code Block linenumbers true $ git add <project name>_projectdb/Tasks/ $ git add <project name>_projectdb/TestCases/ $ git add <project name>_projectdb/project name_QASJavaproject/
Note Do not add the Environment Variable folder as it differs for every user.
Enter the following commands to add the desktop project artifacts into the Bitbucket repository:
Code Block firstline 1 linenumbers true $ git add <project name>_projectdb/Tasks/ $ git add <project name>_projectdb/TestCases/ $ git add <project name>_projectdb/project name_QASJavaproject/ $ git add <project name>_projectdb/project name_QFDCustomActions/
Note Do not add the Environment Variable folder as it differs for every user.
After you add project artifacts, commit and push the changes to the repository adding appropriate comments.
Code Block linenumbers true $ git commit -m '<project name> <your comment>' $ git push --set-upstream origin <project name>
- Now copy the parent directory path in which you have checked-out the project and set it as Qualitia ProjectPath (in Configuration Setting > Dependency).
- In the General section, select Version Control as GIT and enter your Bitbucket Username and Password.
- Restart Qualitia to start working on the desired projects.