Hi
I am using Bit bucket pipelines for Salesforce Code migration. Every time i do the commit pipelines will deploy the whole components again, Instead I want to deploy the files in the last commit, I had used the Depth option but it didn't worked out. Please help.
Hi @adarh_1 ,
could you provide some more specifics on how exactly your build is configured?
Pipelines starts a build by cloning the entire repository for the specific revision. If you want to get hold of the specific changes of a commit, check this thread for some ideas: https://stackoverflow.com/questions/17563726/how-to-see-the-changes-in-a-git-commit
Hi Jeroen,
I have just used the depth command in the pipeline with the value as 1 and it did not work, Below is my pipeline YML file.
image:
name: mklinski/salesforce
clone:
depth: 1 # include the last commit
pipelines:
branches:
feature/*:
- step:
script:
- ant -buildfile build/build.xml deployEmptyCheckOnly -Dsfdc.username=$SFDC_USERNAME -Dsfdc.password=$SFDC_PASS$SFDC_TOKEN -Dsfdc.serverurl=https://$SFDC_SERVERURL
I have setup the pipelines, added the environment variables and setup the yml file as above.
Please let me know if i have missing any thing and I am using Bit Bucket pipelines for Deployment in salesforce.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.