Continuous Integration using SalesforceDX and Jenkins

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ธ.ค. 2024
  • What Is Continuous Integration (CI) ? JWT
    salesforce dx with jenkins
    Check below blog post for all URL
    amitsalesforce...
    #Jenkins #SFDX #SalesforceDX #JWT @ApexHours #CI #Salesforce

ความคิดเห็น • 82

  • @ramainjety2927
    @ramainjety2927 5 ปีที่แล้ว +1

    Fantastic . This is very helpful. Thanks for sharing the information

    • @apexhours
      @apexhours  5 ปีที่แล้ว

      I am glad its helped you

  • @NirajKumar-vs5wr
    @NirajKumar-vs5wr 5 ปีที่แล้ว +1

    Very good and helpfull..

    • @apexhours
      @apexhours  5 ปีที่แล้ว

      Thanks for your feedback @Niraj

  • @nuthangandra1265
    @nuthangandra1265 3 ปีที่แล้ว +1

    Helpful. Thanks

    • @apexhours
      @apexhours  3 ปีที่แล้ว

      Glad it was helpful!

  • @249Nrb
    @249Nrb หลายเดือนก่อน

    Amazing man.

    • @apexhours
      @apexhours  หลายเดือนก่อน

      Help us spread the word!

  • @devramesh9454
    @devramesh9454 4 ปีที่แล้ว +2

    Hi Amit, what is the replacement of "Custom Tools" plugin as it is not available now in the market place? It doesn't enable although it is downloaded. Please provide alternate plugin/process to test this approach. Thanks

    • @apexhours
      @apexhours  4 ปีที่แล้ว

      Not sure need to check/

  • @swathikumar6168
    @swathikumar6168 2 ปีที่แล้ว +1

    If we have multiple sanboxes like sit uat etc. Then do we have to set/create environment variables for all of them?

    • @apexhours
      @apexhours  2 ปีที่แล้ว

      You can configure the same in Jenkins itself.

  • @niveditasiri
    @niveditasiri 3 ปีที่แล้ว

    Hello Amit, "custom tools" plugin is not avaiable as in I cannot provide the "salesforce cli" path and so I build fails. Is there any alternative approach to start a build

  • @prasadavala2474
    @prasadavala2474 4 ปีที่แล้ว +1

    Forgot to mention Amit, we want to use the setup for non-scratch orgs.

    • @apexhours
      @apexhours  4 ปีที่แล้ว

      base on your script

  • @RaghuramRajendran
    @RaghuramRajendran 11 หลายเดือนก่อน

    Hi Amit, Thank you for your video. Can you make a video for Salesforce org metadata validation along with same Jenkinsfile that your are used for this video.

  • @swathikumar3074
    @swathikumar3074 2 ปีที่แล้ว

    can anyone or Amit pls help me to understand my doubt is : when we have mutliple sandboxes like qa,sit uat,prod staging then how can create environment variable for all of them and how can we store in environemnt variable section.. is there any alternate way to store all the variables in jenkins it selft instead of system environment variable.
    in real time we will go with only for validation,testing and deployment how can we achieve in that scenario with many environment variables

  • @subramaniramamurthy4960
    @subramaniramamurthy4960 5 ปีที่แล้ว

    Bit confused can i have some clarity on this.. salesforce dx will be used to maintain version control and why again GitHub using to store the data can we connect scratch org directly with Jenkins and from Jenkins to production ... Like Boomi Api connectors can you please clarify my doubt totally confused Amith

  • @arushchadgal6862
    @arushchadgal6862 2 ปีที่แล้ว +1

    Hi Amit, Can you help me with how to create the client id of any sample metadata, it would be a great help.

  • @adrianflores6585
    @adrianflores6585 5 ปีที่แล้ว +1

    Hi Amit, I would like to know when is a good practice or good moment to user DX+GitHub+Jenkins in a development process, can you post a use case and standard process flow of how to apply this new way of working? I'm coming from console dev to intellij and want to leverage my skills with this new LWC with CD/CI
    Please it would be very helpful for many people

    • @apexhours
      @apexhours  5 ปีที่แล้ว

      Check below post. amitsalesforce.blogspot.com/2019/04/azure-devops-with-salesforce-devops-for.html
      I hope this will help you

  • @ankitbansal7705
    @ankitbansal7705 5 ปีที่แล้ว +1

    Hi Amit,
    I followed the steps and the build was completed. But the deployment status is not there in the salesforce org. The error I am getting is could not find the ContactController Class in the zipped directory. Please help me with this

    • @apexhours
      @apexhours  5 ปีที่แล้ว

      Please check your package.xml file and Zip Folder. That should contain ContactController class.
      Or please update package.xml file

  • @cuteaarts
    @cuteaarts 5 ปีที่แล้ว

    For Ec2 based jenkins where i can store environment variable.

  • @nivedita72
    @nivedita72 5 ปีที่แล้ว

    Hi Amit , Thanks For sharing the info I'm unabel to create jenkins job due to below screenshots , it says "Jenkins is going to shut down" and Loading spinner is running , Please help me

  • @starman9000
    @starman9000 5 ปีที่แล้ว +3

    Hi Amit, this really helped me a lot, can i ask you to show something using DX and scratch org and CI together? Thank you

    • @apexhours
      @apexhours  5 ปีที่แล้ว

      Sure. We will try soon

  • @starman9000
    @starman9000 3 ปีที่แล้ว +1

    Amit, can you help me to solve the issue of "ERROR: No tool named toolbelt found on build" , Thanks

    • @apexhours
      @apexhours  3 ปีที่แล้ว +1

      We provided the solution on blog post

  • @manum5117
    @manum5117 2 ปีที่แล้ว

    Hi Amit
    Thanks for the vedio. Your vedio gave clear picture of what I am looking for but I do have some queries and I hope you would find time to address them.
    1. Without authorisation is there any alternative to connect Salesforce and Jenkins? Like just using some access token and instance url to enable connection
    2. What can be other possible tools used in pipeline stages like code analysis, testing, artifact deploy as extension for your current ci/cd pipeline?
    Thanks in advance

  • @prasadavala2474
    @prasadavala2474 4 ปีที่แล้ว +1

    Great video Amit! appreciated your efforts!! Can you confirm if it is same setup fro Bitbucket ?

    • @apexhours
      @apexhours  4 ปีที่แล้ว

      Yes It will almost same

  • @rameshd5458
    @rameshd5458 4 ปีที่แล้ว

    Hi Amit, Thanks for the video. Could you please post another video for setting up CICD with git(preferably Bitbucket) pipeline deploying the code into develop branch(deploying into Integration sandbox), QA git branch deploys to QA sandbox, UAT git branch deploys to UAT sandbox, Release git branch deploys to Stage fullcopy sandbox and then finally master deploys into Prod Org? for time being, can you share me the blog link where I can follow the steps and try for multibranch-build-scan(sonarqube)test-deploy? Thanks in advance :)

  • @manugne
    @manugne 2 ปีที่แล้ว +1

    Hi Amit..Thnaks for your video. I followed all steps.I am getting below error. Could you please help
    I have added Custom Toolbelt and build the pipeline, getting belwo error
    '"C:\Program Files\Salesforce CLI\bin"' is not recognized as an internal or external command,
    operable program or batch file.
    [Pipeline] error
    [Pipeline] }
    [Pipeline] // stage
    [Pipeline] }
    [Pipeline] // withCredentials
    [Pipeline] }
    [Pipeline] // node
    [Pipeline] End of Pipeline
    ERROR: hub org authorization failed
    Finished: FAILURE
    Please note I am able to authenticate using cmd

    • @manugne
      @manugne 2 ปีที่แล้ว

      The issue is resolved. Build is successful but i see deployment failure in salesforce.
      *** Deploying with SOAP ***
      Job ID | 0Af5j00000Ke58FCAR
      The deploy request did not complete within the specified wait time [0 minutes].
      To check the status of this deployment, run "sfdx force:mdapi:deploy:report"

    • @apexhours
      @apexhours  2 ปีที่แล้ว

      You need to setup the toolbelt

    • @manugne
      @manugne 2 ปีที่แล้ว

      The git file needs to be updated by you.I tried to fork and deploy but still same issue. I tried your demo git file the deployment succeeded 🙂

  • @vijaykumarsingh1662
    @vijaykumarsingh1662 5 ปีที่แล้ว +1

    Hi Amit , Thanks for detail information . I followed all the steps which you mentioned in the post but still I am getting below error
    ERROR: No tool named toolbelt found

    • @apexhours
      @apexhours  5 ปีที่แล้ว

      You need to add Custom Tool "toolbelt" in Global Tool Configuration

    • @vijaykumarsingh1662
      @vijaykumarsingh1662 5 ปีที่แล้ว +1

      @@apexhours Yes , I did that but not sure whether it is correct or not . I think that part is missing in your video right ?

    • @apexhours
      @apexhours  5 ปีที่แล้ว

      @@vijaykumarsingh1662 Can you please share the screen shot of your configuration with my by email amit.salesforce21@gmail.com

    • @vijaykumarsingh1662
      @vijaykumarsingh1662 5 ปีที่แล้ว +1

      @@apexhours Thanks Amit . I got my mistake . thanks for your help

    • @apexhours
      @apexhours  5 ปีที่แล้ว

      @@vijaykumarsingh1662 Let us know if you need any other help.

  • @Jay230612
    @Jay230612 4 ปีที่แล้ว +1

    Hi Amit, Thanks for this great video. I followed the same steps but, I get an error inside 'Configure' page of Jenkins. Failed to connect to repository : Error performing git command: git.exe ls-remote -h. I saw you also got this message but, it disappeared suddenly foryou.

    • @apexhours
      @apexhours  4 ปีที่แล้ว

      Can you please share the full error

    • @rabeerowshan3562
      @rabeerowshan3562 3 ปีที่แล้ว

      @@apexhours This is the error screenshot. If you can guide us here. It would be great.:)

  • @saitejagowdkorrapati495
    @saitejagowdkorrapati495 2 ปีที่แล้ว

    Can any one help me out i am getting the below error @Salesforce Apex Hours
    ERROR: Could not find credentials entry with ID 'c7f4ffd4-6de8-4ace-93c2-a5f9e7a6308b'
    but my JWT credential is this '2e61a668-cc94-4d43-95cb-807e2e206eaf' in the environment variables

  • @saideekshakode3372
    @saideekshakode3372 ปีที่แล้ว

    Hi i am getting static analysis code error what needs to be done

  • @JUNGLESAFARI-INDIA
    @JUNGLESAFARI-INDIA 2 ปีที่แล้ว +1

    Please show the github folder structure

    • @apexhours
      @apexhours  2 ปีที่แล้ว +1

      will cover in next video

  • @sosu4u
    @sosu4u 3 ปีที่แล้ว +1

    It is not creating server.crt file. What is the issue?

    • @apexhours
      @apexhours  3 ปีที่แล้ว

      what error you are getting

    • @sosu4u
      @sosu4u 3 ปีที่แล้ว

      It resolved but Jenkins job failed with error “no tool named tool belt found” please help me to resolve it?

  • @ranganadhug2966
    @ranganadhug2966 3 ปีที่แล้ว

    ERROR: No tool named toolbelt found
    Please tell me how to configure

  • @niteshnapit1177
    @niteshnapit1177 8 หลายเดือนก่อน

    giving ERROR: No tool named toolbelt found.
    I have restarted system many time still giving same error.

    • @apexhours
      @apexhours  8 หลายเดือนก่อน

      You need to setup toolbelt

  • @SalesforceBro
    @SalesforceBro 7 หลายเดือนก่อน

    after reset my laptop variable is still null.

  • @krishnasfdc-x8p
    @krishnasfdc-x8p ปีที่แล้ว

    can salesforce admin learn slaesforce devops

  • @srinivaskannan7016
    @srinivaskannan7016 2 ปีที่แล้ว +1

    No tool named toolbelt found

    • @apexhours
      @apexhours  2 ปีที่แล้ว

      You need to define one

  • @srinivaskannan7016
    @srinivaskannan7016 2 ปีที่แล้ว

    C:\openssl\bin>openssl x509 -req -sha256 -days 365 -in server.csr -signkey server.key -out server.crt
    Loading 'screen' into random state - done
    server.csr: No such file or directory

  • @srinivaskannan7016
    @srinivaskannan7016 2 ปีที่แล้ว

    19760:error:0D0BF041:asn1 encoding routines:ASN1_item_dup:malloc failure:./crypto/asn1/a_dup.c:104:
    problems making Certificate Request