This is great. Exactly what I needed. I have as project that requires Azure DevOps-GIt and VSCode and we need to perform ANt Deployments continually (CI/CD). So I need to see how Azure Integrates with Ant Deployment.
@@apexhours Are you fine ? My questions. On my case Pipeline on first execution deploy all files on org. In any cenarious this is not ideal. I try modify Package file but not success. Other thing , on next deploys, ANT deploy only commited files, but When i see on salesforce deploy this process make a validation of all objects.This is very costs of time. Is there any way for deploy more quickly and fast ? Thank you @Salesfoce Apex Hours for collaboration. My files is here: github.com/kiaratto/SalesforceAzureDevopsPipelineDeploy
Hi, Really appreciate the tutorial. Have small doubt, if anyone can clarify pls. While Continuous Integration (build) you created one .yml file and that was checked-in to master branch, but while deployment (CD) you are not using that build, instead you just used build.xml which was already present in the repository and you took repository only as an artifact. My Question is : If we do not require build artifacts while release then what was the point of going through CI/build step. Why can't we directly implement the Continuous Deployment (CD) pipeline using build.xml file. Pls explain the relevance of CI in this tutorial. M really confused on this point. Thanks
For zero knowledge which is best and eaaaaasier to lean salesforce or azure Please advice. Salesforce admins less jobs Salesforce developer need somewhat coding knowledge. Please adive is azure or aws a right thing now to learn easy How about salesforce
Hello Amit, Thanks for the video. I tried and I am able deploy the code through Azure. I am facing issue in retrieve task. Ant script is not throwing any error, it is successfully executing but it is not updating the repository. Could please show retrieve task as well. Thanks
it is good stuff but What is the purpose of the build of salesforce?? how we take the Salesforce configuration changes doing by front end into our repository ?
@@apexhours Thanks.I assume it is in fact possible to do incremental deployment.in AzDo. Couldn't find any details specific to it in Google.. Waiting for the video
hello Amit, Thank you for sharing the video.Its very helpful . How to Integrate the salesforece to Azure devops Or dashboard? Can you please provide me solution
@@apexhours HI Apex Hours, I need your help in setting up CI for my Org. How can I get help from you. I am ready to take your course. Please call me at 98850 92921.
Hello Amit, Thanks for the video. It is really helpful and close to my requirement. Issue: I created similar kind of release pipeline which you showed in the video but I am facing below issue while executing the jobs ##[error]Error: The process 'C:\ProgramData\Chocolatey\bin\ant.exe' failed with exit code 1 Any idea on this Error? Query: Just want to understand from this video I can see two build.xml files which is "build.xml" & "Sample_build.xml" why we need two build files? Thanks
Hi, Really need your help on CD Pipeline setup. Facing challenge on release pipeline. Please let me know your mail id to share build file to identify the issue. Thanks in Advance!
Great video. I have been having issues with deploying to salesforce, using ant via azure. I have setup a successful build which deploys everything what is in SRC folder but what I would like to achieve is to only deploy what is in package.xml. What I have tried is having the aura component folder in the SRC and in package.xml not having the AuraDefinitionBundle module but it still deploys the module. Any idea why this is happening?
While I deploy the release , I am getting the following error "The process 'C:\ProgramData\Chocolatey\bin\ant.exe' failed with exit code 1 " Can someone help with this ?
@@apexhours Could you please share me the steps Beacuse I am able to deploy metadata from azure Salesforce but when try to retrieve using built file function its give status success but I cant find the metadata in source file ?
Great Video!!! I just got an error while running the build.xml by creating a pipeline."deploy: BUILD FAILED /home/vsts/work/1/s/build/build.xml:84: Should provide a valid directory 'deployRoot' or a zip file 'zipFile'. Total time: 0 seconds The process '/usr/bin/ant' failed with exit code 1 ##[error]Error: The process '/usr/bin/ant' failed with exit code 1 Finishing: Ant " In the said line in build.xml I have the following lines:
Not sure if I've missed something like some folder creation or not.Could you please suggest?
I'm able to deploy the code as long as I enter my credentials in the build.properties file. What is the purpose of the variables within Azure if we still need to explicitly enter them in the build.properties? Does anybody know how to pass these variables to the build.properties?
I used it build.properties without using build variables. But you will face issue while performing merges across the branches. if you dedicate the branches to environment then No harm
One of the first video i have found that gives a walkthrough of Salesforce with Azure DevOps. Great job!
Thank you so much for your feedback. I hope you will enjoy "Integrate GitHub with Jenkins CI/CD" as well.
th-cam.com/video/pSWadwORS8w/w-d-xo.html
This is great. Exactly what I needed. I have as project that requires Azure DevOps-GIt and VSCode and we need to perform ANt Deployments continually (CI/CD). So I need to see how Azure Integrates with Ant Deployment.
Show . Thank you! The only place that explain this. Salesforce don´t have a anything about this.
Thanks for your kind words
Can you please share files which works for you ?
@@apexhours Are you fine ? My questions.
On my case Pipeline on first execution deploy all files on org.
In any cenarious this is not ideal. I try modify Package file but not success.
Other thing , on next deploys, ANT deploy only commited files, but When i see on salesforce deploy this process make a validation of all objects.This is very costs of time.
Is there any way for deploy more quickly and fast ?
Thank you @Salesfoce Apex Hours for collaboration.
My files is here: github.com/kiaratto/SalesforceAzureDevopsPipelineDeploy
@@ujjawalverma2260 Hello, how are you ? I put the files on my gitHub follow here: github.com/kiaratto/SalesforceAzureDevopsPipelineDeploy
Please upload the video for incremental deployment using azure devops.
Yes you can do
Hi, Really appreciate the tutorial. Have small doubt, if anyone can clarify pls. While Continuous Integration (build) you created one .yml file and that was checked-in to master branch, but while deployment (CD) you are not using that build, instead you just used build.xml which was already present in the repository and you took repository only as an artifact.
My Question is : If we do not require build artifacts while release then what was the point of going through CI/build step. Why can't we directly implement the Continuous Deployment (CD) pipeline using build.xml file. Pls explain the relevance of CI in this tutorial. M really confused on this point.
Thanks
For zero knowledge which is best and eaaaaasier to lean salesforce or azure
Please advice.
Salesforce admins less jobs
Salesforce developer need somewhat coding knowledge.
Please adive is azure or aws a right thing now to learn easy
How about salesforce
Its all depend on you. Both are good. If you can learn coding then go with Salesforce.
Hello Amit,
Thanks for the video.
I tried and I am able deploy the code through Azure.
I am facing issue in retrieve task. Ant script is not throwing any error, it is successfully executing but it is not updating the repository.
Could please show retrieve task as well.
Thanks
Hey Manoj, I'm experiencing the same retrieve issue - no error, but repo isn't updated. Did you find any workaround for that?
it is good stuff but What is the purpose of the build of salesforce?? how we take the Salesforce configuration changes doing by front end into our repository ?
We need to extract from salesforce and need to upload in Azure.
Salesforce Apex Hours Azure means Azure repo?? If it is not Azure repo then there will not be version control of the code
How to do incremental deployment for azure devops? Please explain that too
We will plan soon
@@apexhours Thanks.I assume it is in fact possible to do incremental deployment.in AzDo. Couldn't find any details specific to it in Google.. Waiting for the video
Can you also share integrating selenium testing in the release pipeline in the next video
We will try our best
@@apexhours thank you, i was able to do it through release pipeline by my own with test cases in git repo
Great vid thanks! there's but one thing. Has the DevOpsDemo repository been moved? I can't find it
It is private
can retrieve files from the salesforce as well ?
hello Amit,
Thank you for sharing the video.Its very helpful .
How to Integrate the salesforece to Azure devops Or dashboard?
Can you please provide me solution
We are glad you liked it.
We will get back to you on this solution soon
Hi Amit, this is a great session. Where can I find the build properties file and structure in src ?
We will post on our blog soon
@@apexhours HI Apex Hours, I need your help in setting up CI for my Org. How can I get help from you. I am ready to take your course. Please call me at 98850 92921.
Hello Amit,
Thanks for the video.
It is really helpful and close to my requirement.
Issue:
I created similar kind of release pipeline which you showed in the video but I am facing below issue while executing the jobs
##[error]Error: The process 'C:\ProgramData\Chocolatey\bin\ant.exe' failed with exit code 1
Any idea on this Error?
Query:
Just want to understand from this video I can see two build.xml files which is "build.xml" & "Sample_build.xml" why we need two build files?
Thanks
Glad its helped. Can you please share build.xml file ?
@@apexhours Thanks for reply.
I am unable to attach build file. Please share mail id?
Hi,
Really need your help on CD Pipeline setup. Facing challenge on release pipeline. Please let me know your mail id to share build file to identify the issue.
Thanks in Advance!
How to configure the azure pipeline for running test classes?
We will do new session soon
Great video. I have been having issues with deploying to salesforce, using ant via azure. I have setup a successful build which deploys everything what is in SRC folder but what I would like to achieve is to only deploy what is in package.xml.
What I have tried is having the aura component folder in the SRC and in package.xml not having the AuraDefinitionBundle module but it still deploys the module.
Any idea why this is happening?
While I deploy the release , I am getting the following error "The process 'C:\ProgramData\Chocolatey\bin\ant.exe' failed with exit code 1 "
Can someone help with this ?
Could you please provide the source code? I badly need it.
We will get it for you and share soon
@@apexhours Thank you so much.
Can we retrieve files from the salesforce as well ?
yes
@@apexhours Could you please share me the steps Beacuse I am able to deploy metadata from azure Salesforce but when try to retrieve using built file function its give status success but I cant find the metadata in source file ?
Can you provide your build.xml file?
We will try to post same on our website
@@apexhours hi, I looked on the website but could not find the build.xml file.
Great Video!!! I just got an error while running the build.xml by creating a pipeline."deploy:
BUILD FAILED
/home/vsts/work/1/s/build/build.xml:84: Should provide a valid directory 'deployRoot' or a zip file 'zipFile'.
Total time: 0 seconds
The process '/usr/bin/ant' failed with exit code 1
##[error]Error: The process '/usr/bin/ant' failed with exit code 1
Finishing: Ant
"
In the said line in build.xml I have the following lines:
Not sure if I've missed something like some folder creation or not.Could you please suggest?
Hard to Track like this. Can you please provide more details
I'm able to deploy the code as long as I enter my credentials in the build.properties file. What is the purpose of the variables within Azure if we still need to explicitly enter them in the build.properties? Does anybody know how to pass these variables to the build.properties?
I used it build.properties without using build variables. But you will face issue while performing merges across the branches. if you dedicate the branches to environment then No harm
Great content, too bad about that audio quality.
We are really sorry for that. We will take care next time
Thanks for this video
thank you
You're welcome
voice not clear , topic missing
Sorry about that
Iovu
Keep watching