Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 6

After you clone the repository and completed initial commit, you can now add the Qualitia projects artifacts to Bitbucket repository. This is a one-time activity. The Bitbucket repository adds each project in different branches so that you can track the changes in Qualitia projects artifacts easily.


Info

The Qualitia project must have at least one task and one test case. Empty projects cannot be added to the Bitbucket repository.                  

To add the existing Qualitia projects 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. Enter the following command to checkout the master branch before you add a new branch for the project that you want to add into GIT repository. .

    Code Block
    $ git checkout master


  5. Enter the following command to add a separate branch in the Bitbucket repository to store the project, 

    Code Block
    $ git branch <project name>


  6. Enter the following command to checkout this newly created branch on the local system.

    Code Block
    $ git checkout <project name>


  7. Enter the following commands to add the projects artifacts into the Bitbucket repository:

    Code Block
    linenumberstrue
    $ 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.


  8. Enter the following commands to add the desktop project artifacts into the Bitbucket repository:

    Code Block
    firstline1
    linenumberstrue
    $ 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.


  9. After you add the project artifacts, commit and push the changes to the repository by adding the appropriate comments.

    Code Block
    linenumberstrue
    $ 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.QAS creates a file called .gitignore, which you must not remove.