You need to sign in to do that
Don't have an account?
Antonio Criado 7
How to integrate Salesforce - Git for CI
Hi,
I am trying to integrate Salesforce with some Git repository but I have no idea of what to use. Salesforce recommend to use Ant IT but I have seen a lot of Jenkins tutorials but nothing up to date. My idea is to work as a team and forget to commit our code to git, any ideas? Thank you in advance
I am trying to integrate Salesforce with some Git repository but I have no idea of what to use. Salesforce recommend to use Ant IT but I have seen a lot of Jenkins tutorials but nothing up to date. My idea is to work as a team and forget to commit our code to git, any ideas? Thank you in advance
Welcome to the world of automation!
I belive that you may need to clarify a few concepts before attempting to implement the desired integration.
Git is a version control mechanisim which stores copies of human readable files such as .txt, .aspx. .apxc, etc. Git can be used only to maintain versions of our code / metadata and not to do any type of automatic deployment. Though there are UI based dekstop tools like GitHub or SourceTree, all the Git commands are available through command-line tools as well.
Ant Migration Tool is a desktop based deployment utility provided by Salesforce to deploy source code and metadata from local file system to Salesforce instance. It is basically command-line-based utility where you can write commands to deploy the source files.
Jenkins is an executioner utility which basically does the task of executing whatever we instruct it to do. We can instruct it to execute some commands on command line utilities as well e.g. batch file for windows dos. It also has some plug-ins to perform git based operations such as push and pull.
So this is how I would suggest you to implement the automation.
This is the expected flow,
Hope this helps!
Thanks,
Pranav Sanvatsarkar.