Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

24. Enter Name and Description of credentials to be added in Jenkins and click on ‘Add Jenkins Credentials’. This would link the Jenkins job to your source code repository.

...

25. Login to Jenkins to verify the integration of repository tool. Navigate to Jenkins and login, Click on Admin” from the right top corner and click on “Credentials” at the left list of options - to verify the Integration of repository tool with Jenkins.

...

Next, Creation of SFDC Jenkins jobs in Opsera Portal

(each one represents the SFDC Process such as Validate Package XML, Backup of an Org, Unit Test, Deploy to an Org)

2625. On the Opsera portal - click on Tool Registry, Click on the “Jenkins” tool you just created. Then Click on Jobs tab and click on ‘Create Job’ button (as shown below)

...

2726. Select Job Type as ‘SFDC Jobs’, Name, Description and Job Type as ‘Validate XML Package’

...

2827. Click ‘Save Job’ to finish creating the job.

...

2928. Job has been created on Jenkins Tool which will be used on Pipelines to successfully create builds inside Jenkins.

3029. Repeat the above process for creating other jobs for --> Backup, Unit Test and Deploy

...

Next, Creation of pipeline and its configuration.

3130. On the Opsera portal, Click on Pipelines from the left navigation panel to open the catalog to create pipeline. Click on ‘Catalog’ Tab (found at the right top panel as shown below)

...

3231. From the below list of pipeline templates, Under the ‘Salesforce Template’, click on “ Create Pipeline “ to add the pipeline successfully.

...

32.To give a meaningful name for the pipeline, On Summary tab, click on the little pencil icon (next to salesforce template name - to edit the name)

...

33.Edit the pipeline

...

Create Package XML job & Configuration

...

45. Configuration section will be closed and the given details will be saved

...

46. As a token of verification, a ‘SFDC_Validate Package XML’ build job will be created in Jenkins which will have ‘Pipeline and Step ID’ suffix for unique identification.

...

Next Pipeline Step Configuration - Backup → The entire SFDC Org components will be taken a backup and will be pushed to Git/Bitbucket Repository based upon the step configuration.

...