logo
logo
Sign in

BITBUCKET USING CIRCLECI, CONTINUOUS INTEGRATION FOR SALESFORCE

avatar
sonaligm



Follow below to see how you can start using CircleCI yourself!

  1. Create new app cloud salesforce developer org using below URL https://developer.salesforce.com/signup?d=70130000000td6N
  2. Wait for the email and set your password Click on the link in the email and continue with setting up the password and security question.
  3. Get your security token from new org My Settings → Reset My Security Token → Click Reset Security Token. New security token will be sent to your mail.
  4. Put your org details to build.properties file. Example bitbucket repository URL : https://bitbucket.org/pashtek/demo-sfdc-ci.
  5. Download Sourcetree App https://www.sourcetreeapp.com/ Install it. After installing Sourcetree click Clone/New add you repository source path/URL. Eg: https://bitbucket.org/pashtek/demo-sfdc-ci.
  6. Add your new Changes and push to you bitbucket.
  7. Create a new account in CircleCI using bitbucket. Go to Project → AddProject → Select your bitbucket project → Choose your language → Save.
  8. Now your project with work Salesforce consulting services whenever you’re updating in Bitbucket.
  9. Go back to Atlassian Sourcetree and stage the Uncommitted changes to the build salesforce cloud services properties file. Press Control-Shift-C to commit, provide a comment and press the commit button. Afterward, press the push button in the toolbar and check the branch, then click OK to push.
  10. We’ve already connected CircleCI to our Bitbucket project and we’re following our repo with CircleCI. Notice CircleCI already picked up the commit in seconds and runs the Deploy and Run All Tests for our code into the Salesforce Org credentials we provided in the dev.branch.properties. Check it out and give it a try! Hope you enjoy


collect
0
avatar
sonaligm
guide
Zupyak is the world’s largest content marketing community, with over 400 000 members and 3 million articles. Explore and get your content discovered.
Read more