Questions tagged [continuous-integration]

Continuous Integration (CI) implements continuous processes of applying quality control — small pieces of effort, applied frequently. Continuous integration aims to improve the quality of software, and to reduce the time taken to deliver it, by replacing the traditional practice of applying quality control after completing all development.

Filter by
Sorted by
Tagged with
1
vote
1answer
34 views

Copy file to Docker executor on Circleci for SFDX project

I have a SFDX project on github which is linked to circleci. I'm using docker executor in circleci. Now I don't want to create a new scratch org everytime my workflow runs on circleci after a commit. ...
2
votes
1answer
69 views

Salesforce CI/CD Implementation

We are in the process of moving from Org based development to Source code based development. We are using VSCode, GitHub and Jenkins. The steps that we followed are Create an empty GitHub repo and ...
0
votes
0answers
11 views

queuing batch controller which has Outbound calls to get record details from external appilcation

I am requesting external application from SF on daily basis to get records and sync. I have 5-10 custom objects in our environment. I have to make API calls individually to get all those records and ...
1
vote
0answers
48 views

Jenkins build issue for SFRA

Hi SFCC Developers, I am facing an issue while doing a build through Jenkins. (We are using Jenkins for CI.) I have followed a same steps which we follow for compilation through our local machines. ...
3
votes
1answer
102 views

CI/CD with package.xml: how to deploy incrementally?

I have the following CI flows setup in my git repo: Deploy to Staging org when master branch is updated (automated) Deploy to Production org from master branch as initiated by Release Manager (manual)...
0
votes
0answers
12 views

Retrieving and Deploying an Apex class with an older managed package version

In our testing org. I have a class that doesn't function correctly within our org when on the latest version, in fact a managed package needs to be downgraded for the issue to disappear. 7.27 -> 6.96 ...
1
vote
0answers
73 views

How to deploy Commerce Cloud code (SFRA version) using jenkins?

We need to deploy SFRA code to development and staging instance. Earlier for pipeline version, we had used Jenkins plugin i.e "OSF Builder Suite For Salesforce Commerce Cloud Deploy" to deploy to ...
1
vote
1answer
521 views

Salesforce deployment using Ant and SFDX

Our project is in this format after using sfdx force:mdapi:convert -r src it converted to this which doesnt have package.xml Using sfdx force:source:convert converted project to this format with ...
0
votes
0answers
57 views

Continuation callback method is not invoked

The actual code is very big, I tried to simplify it as much as possible. The design is such we cannot call the continuation method directly. So looking for ways of invoking it. Many thanks! VF Page ...
3
votes
2answers
281 views

When setting up Continuous Integration Job, should I deploy only changed files in commit or All files in repository? [closed]

I am setting up Continuous Integration and kind of confused as title says, whether to deploy only the components that are changed in the commit or all the components from repository? Some people ...
4
votes
1answer
215 views

Remove all old flow versions using SFDX

We have an old field referenced in older flow versions. We want to remove all older versions using SFDX and only upload the newest version without the field. Is it possible to do this without manually ...
0
votes
0answers
66 views

Removing controlling field values (picklist dependencies) during deployment

We have multiple orgs on which we are running deployments using jenkins and ant deployment tool. We have problem when removing dependencies during deployment. So basically I'm able to remove ...
0
votes
0answers
55 views

How to auto generate salesforce package.xml for incremental changes in Bitbucket?

I am using Microsoft DevOps to deploying my changes to salesforce org and Bitbucket for versioning. Now, how can I auto-generate salesforce package.xml for all the incremental changes in Bitbucket so ...
8
votes
0answers
80 views

Is there a way to automate the deployment of changed picklist values in a pipeline using SalesforceDX?

Sometimes we need to change the label or, more commonly, a value for a picklist item. Suppose we do change the fullName attribute of a picklist field, to match an external system that will integrate ...
1
vote
1answer
38 views

Salesforce integration with Codeless Platform

Their is a requirement, that I want to build a connection between salesforce and SAP B1 system. Therefore, We used codeless platform as our middleware. I'm not clear about the connection details from ...
1
vote
1answer
176 views

Authorize a DevHub using SalesforceDX without password

I am working on SalesforceDx and I have to authorize my devhub by just using Username of the org I dont want to enter password. I have tried JWT token for authorization but it uses an OPEN SSl ...
1
vote
1answer
178 views

Scratch org created from Bitbucket pipeline has no Standard User profile

To build DX unlocked packages I am using Bitbucket pipelines. I use the Salesforce configuration template for this. image: atlassian/default-image:2 pipelines: default: #These commands run for all ...
3
votes
3answers
154 views

Retrieving package install URL via sfdx

I'm upgrading our build system to use sfdx, and I'm trying to automate all packaging operations for our managed package. Once a new package version has been created via sfdx, I would like to retrieve ...
2
votes
1answer
554 views

Script to dynamically generate XML file based on most Git commit contents (Salesforce CI)

I'm using DX for my Continuous Integration, but post-scratch org when I want to deploy into a traditional sandbox for staging, I'm struggling with an automated way to deploy only the new commits (as ...
6
votes
1answer
368 views

Can't get sfdx force:package:install to block in a Jenkinsfile

Using the Jenkinsfile mechanism - see the Salesforce Jenkinsfile Walkthrough - allows one Continuous Integration (CI) definition to automatically build multiple branches and multiple pull requests via ...
0
votes
2answers
176 views

Does Salesforce DX support Amazon Linux AMI?

Is there any way to install Salesforce DX CLI on an Amazon Linux AMI EC2 instance or does it only support Ubuntu? If it doesn't support the AMI OS, Is there anything on the roadmap? I need to the DX ...
4
votes
1answer
137 views

Is there an SFDX plugin that allows an existing field to be updated available somewhere?

I'm in the middle of writing a Jenkinsfile so we can have one Jenkins job that handles multiple branches and multiple org configurations. For the multiple org configurations, I'm using the parallel ...
4
votes
1answer
681 views

How to setup Bamboo with Salesforce CLI?

Is there any guide on how to setup Bamboo with the Salesforce CLI. We are not using SalesforceDX yet but just want to setup a job to deploy from GIT repo in BitBucket onto a sandbox. I guess the steps ...
1
vote
1answer
129 views

Continuous Integration and Salesforce Metadata

I am trying to find a Continuous Integration solution not only for Apex code, Visualforce and Lightning Component but also for other Metadata. For example, I would check if on a Remote Site the Admin ...
2
votes
3answers
451 views

SFDX CI: Invalid record ID. Specify valid record ID value

I'm trying to follow Continuous Integration Using Salesforce DX trailhead module, however, I'm using my own repo (I didn't clone the sample repo that is provided). I've used their .travis.yml file ...
5
votes
2answers
264 views

Scratch org. default workflow user

Is it possible to programmatically set the default workflow user in a scratch org? My use is that I'm spinning up a fresh scratch org. as part of my CI pipeline. I could (and currently do) use a ...
0
votes
1answer
89 views

CI/CD in Java vs Salesforce [closed]

CI/CD in terms is the same for Java and Salesforce, but in depth what exactly are the differences between them in CI and CD pipelines? For example: in a Java CD pipeline, they have to go see a lot of ...
1
vote
0answers
57 views

CI server when using DX

I have a managed package. Since converting the code to DX I have struggled to create a continuous integration server. I'm hoping someone can give me some pointers. We use a GitHub flow for managing ...
4
votes
1answer
72 views

Continuous Delivery

Is it possible to implement continuous delivery in Salesforce? By "continuous delivery", I mean that the build, test and deployment steps that occur from the time that code is checked in to the time ...
3
votes
1answer
1k views

Continuous integration of Salesforce with CircleCI

I want to setup our Continuous Integration with CircleCI. I want our GitHub to deploy our code to a central test org anytime a developer pushes changes to run all the Apex tests and make sure that ...
2
votes
1answer
533 views

Jenkins Pipeline - sfdx folder not found

I'm trying to setup a Jenkins Pipeline for our SFDX CI process on a Jenkins instance. I've successfully added the custom tool I can successfully create a new scratch org via ${toolbelt} folder as ...
8
votes
2answers
703 views

Travis CI fails to create a scratch org

Yesterday, my Travis CI builds started to fail on a scratch org creation step: $ sfdx force:auth:jwt:grant --clientid $CONSUMERKEY --jwtkeyfile server.key --username $USERNAME --...
1
vote
1answer
251 views

Salesforce DX and Heroku CI

I have discovered Salesforce DX and done some test using its. I have also read about Heroku CI and Pipelines but I have not understood if I can use these technologies during Salesforce DX development....
0
votes
1answer
324 views

Jenkins Build Failure

I'm receiving this error when trying to run a Jenkins Job. The file configuration seems to be valid. What steps should I take to troublshoot this issue? Problem: failed to create task or type antlib:...
0
votes
1answer
71 views

java.lang.VerifyError: (class: com/salesforce/ant/SFDCAntTask, method: doLogin signature: ()Lcom/sforce/soap/partner/LoginResult;)

C:\Users\rajiv\Downloads\salesforce_ant_40.0\sample\build.xml:14: java.lang.VerifyError: (class: com/salesforce/ant/SFDCAntTask, method: doLogin signature: ()Lcom/sforce/soap/partner/LoginResult;) ...
0
votes
1answer
2k views

How to clone a Jenkins job in a different folder? [closed]

Even as a full administrator, a Jenkins job cannot be cloned if the source job is in a different folder. Screenshot 1: Screenshot 2: So, how to clone a Jenkins job in a different folder?
2
votes
0answers
254 views

Continuous Integration in Marketing Cloud

Due to the complexity of the internal release management of my client, my team and I decided to create 3 BUs (2 for testing and sprint development and one for PROD). Unfortunately, Marketing Cloud ...
3
votes
1answer
710 views

How To? Namespace and multiple dev orgs

What is the best practices to use multiple dev orgs while developing app that will be distributed as Managed Package with Namespace prefix. The problem: Once Namespace has been created, there is some ...
6
votes
1answer
913 views

are there alternatives to Salesforce ANT

Today, we are using the combination of Jenkins and the Salesforce ANT migration toolkit. The problem is that all our other projects in the company are not using ant anymore and have moved to either ...
0
votes
0answers
84 views

Continuous Integration: How To Get Over Common Ant Deployment Issues Which Often Require Manual Intervention

I've deployed many times to SFDC using the Force.Com Migration Tool & Ant. In many cases I often end up having to undertake manual steps to get around issues. An example being Flows. Flows cannot ...
2
votes
1answer
713 views

Build.xml setup for continuous integration

I am trying to setup my build.xml to reference the ant-salesforce.jar from my project checkout. The directory structure is similar to this: Project Dir -> src -> ant-salesforce.jar -> build....
5
votes
1answer
65 views

Is there a way to refresh only changes from a specific developer in the Force.com IDE (Eclipse)?

I have a question about the Force.com IDE in Eclipse along with SVN (subclipse). For the sake of this question, we have two developers, Harry and Sally, working in the same developer org. They both ...
4
votes
1answer
476 views

Jenkins Salesforce CI server setup

I have a simple doubt and wanted to get community perspective. I have set up Jenkins for all my Salesforce deployments with Force.com Migration tool. Now it works properly on my local machine without ...
1
vote
1answer
168 views

Build apex code locally

I'm trying to configure jenkins as continuous integration server with ant migration tool, so i'm searching information in how can i build apex code from jenkins, so since now the only i've found is ...
1
vote
1answer
431 views

Jenkins + Ant Migration Tool: Caused by: com.sforce.ws.ConnectionException

I'm trying to configure deploying my sfdc metadata using JenkinsCI but in case I see next error: deployCodeCheckOnly: parsing buildfile jar:file:/usr/share/ant/lib/ant-salesforce.jar!/com/salesforce/...
13
votes
4answers
7k views

Deploy incremental changes using Github and Jenkins

We are using Jenkins and Github to automate deployments from dev to test to production and currently do a full deploy (the whole package) based on what is stored in GitHub. We would like to improve ...
2
votes
0answers
745 views

Ant Migration Tool: INVALID_OPERATION - INVALID_OPERATION:Too many files in zip

Now I'm trying to deploy bunch of custom objects to my Developer Org. using Ant Migration Tool. All these custom objects are from our Production org, and the final goal is to setup CI in our ...
1
vote
0answers
172 views

How to Make Https Request From Salesforce to Flipkart

Hi guys I'm trying to generate access token for Flipkart Application from Salesforce. When I run this below command in curl I'm able to get Access Token curl -u 52a83780666645a39a6b57103657866a9069:...
17
votes
6answers
3k views

How to keep sandbox in sync with changes from other developers?

We are a team of 9 developers, working on a large project and commits are made to master branch all the time. When I needed to work on any new enhancement I used to pull everything from master branch ...
5
votes
2answers
263 views

Continuous Integration in salesforce

I am planning to implement continuous integration using Git,Jenkins and Github in salesforce.My query is regarding the repository structure.We have 3 salesforce environments Production,QA and ...