Forum Discussion

nisgupta's avatar
nisgupta
Valued Contributor
8 years ago

Source Control Systems - Stash-Git

Has anyone using Stash-Git for Testcomplete Script code?

Our developers are using the Stash-Git for their code. They are also using Source Tree as Git Client. I am seeing that TestComplete do not provide support for SourceTree .

 

Then I am trying to use TortoiseGit Client. If any one using this client then can someone please update the step to check in the code to the stash .

 

Let me know if I am not clear enough 

 

Thanks

NG

 

  • cunderw's avatar
    cunderw
    Community Hero

    Stash-Git is an Atlassian git management server while SourceTree and TortiseGit are both just clients with a GUI. 

     

    They all operate behind scenes the same way, using git. 

     

    You can either use Test Complete's built in SCC integration, or use either of the clients mentioned above. I personally prefer to not use the integration as we also keep a lot of non TestComplete assets in the repo and am more of a CLI guy myself. 

     

    As far as how to commit your code that is a very broad question. Has your IT department setup or provided a repository for you to use? If not that would definitely be the first step. 

     

    I would also make sure to research how git works (branching is your friend). Atlassian has a great set of tutorials which will also provide information on how their management projects work: https://www.atlassian.com/git/tutorials

     

    Standard Git documentation: https://git-scm.com/docs/gittutorial

     

    Finally things that you do and do not want to have tracked by your SCM provider unless you like merge conflicts:

    http://support.smartbear.com/testcomplete/docs/working-with/integration/scc/files.html

     

    Besides that if you have a specific issue or question about setup and usage I'd be more than happy to try an assist. 

    • nisgupta's avatar
      nisgupta
      Valued Contributor

      cunderw  Thank you for the updates

       

      Look like you use CLI rather than clients 

       

      We do have test git management server . I am trying to understand how git works using the link provided here .

       

      I will be posting some question here later 

       

      Thanks again

      NG

       

      • nisgupta's avatar
        nisgupta
        Valued Contributor

        Finally I got the chance to learn version control ... here I am using SourceTree. and I am able to check in the TestComplete project and code through SOurce tree to our Stash.

         

        Now My main Concern is I am running this project suite through our Jenkins server. We have already set up the connection between jenkins and Stash .

         

        I have attached the screenshot. Do we need to set some other parameters/fields in Jenkins ?

         

        Please update 

         

        Thanks

        NG

  • nisgupta's avatar
    nisgupta
    Valued Contributor

    I have some concerns going on with TestComplete + Jenkins integration

     

    I am following this document
    https://support.smartbear.com/viewarticle/77302/

    In this link, the last line which says "As an alternative, you can use a third-party build, test and release management application to get the latest version of test projects from the source control and run them automatically"

    So now the question come is , can Jenkins take care of the whole process like to get the latest version of test projects from the source control and run them automatically ?

     

    Please update 

    Thanks

    NG

  • nisgupta's avatar
    nisgupta
    Valued Contributor

    Here is what I am doing as attached in the screenshot. Now I am confused what will be the next step ?

     

    Thanks

    NG