Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

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.

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:

  1. Navigate to the folder where you have cloned the repository.
  2. Move your existing project folder (<ProjectName>_projectdb) to this location.
    You will get this location in Qualitia Configuration Settings > Dependency > Project Path.
  3. Launch Git Bash.
  4. Checkout the master branch before you create new branch for the project to be added onto GIT repository. Use the following command to checkout master.

    $ git checkout master
  5. To create separate branch in the Bitbucket repository to store the project, enter the following command.

    $ git branch <project name>
  6. To checkout this newly created branch on the local system, enter the following command.

    $ git checkout <project name>
  7. Enter the following commands to add projects artifacts into the bitbucket repository:

    $ git add <project name>_projectdb/Tasks/
    $ git add <project name>_projectdb/TestCases/
    $ git add <project name>_projectdb/project name_QASJavaproject/
    
    

    Qualitia recommends not to add the Ennvironment Variable folder as it differs for every user.

  8. Enter the following command only when you have to add the desktop projects artifacts:

    $ git add <project name>_projectdb/project name_QFDCustomActions/
  9. After you add the project artifacts, enter the following commands to commit and push the changes to the repository:

    $ git commit -m '<project name> <your comment>'
    $ git push --set-upstream origin <project name>
  10. Now copy the parent directory path in which you have checked-out the project and set it as Qualitia ProjectPath (in Configuration Setting > Dependency).
  11. In the General section, select Version Control as GIT and enter your Bitbucket Username and Password.
  12. Restart Qualitia to start working on the desired projects.


  • No labels