Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ci]

The tag has no usage guidance.

1
vote
0answers
29 views

SFDX deploying Contact Sharing rules on a fresh deployment

I'm trying to deploy a Contact sharing rule into a new scratch org and I get following error. Deploying sharing rule xxxxx not supported for object Contact since it's org wide default is '...
1
vote
2answers
71 views

Automatic deploy from repository to org [closed]

We are trying to implement an automatic deploy from a Git repository to Salesforce. We have all the metadata in a repository and so far, we were able to deploy a subset of these metadata doing these ...
5
votes
1answer
33 views

How do I view a list of packages installed in a DevHub org using the SFDX CLI?

When I run: sfdx force:package:installed:list -u DevHub (where DevHub is the alias of my production org, which IS enabled as Dev Hub and also has 2GP enabled) I receive this error: ERROR ...
11
votes
3answers
287 views

Efficiently merge handle parallel feature branches in SFDX

Imagine a team of 5 developers using DX scratch orgs (using Salesforce' Falcon Template) for working on multiple features in parallel. They start from a clean packaging org and a clean Git master. ...
0
votes
0answers
41 views

Deployment Error 'Field cannot be set for type Update a Record'

I have an automated process set up to move my code from Development to QA and when I try to move a Quick Action I am getting an error I have never seen before: 'Field cannot be set for type Update a ...
2
votes
4answers
503 views

How to get all metadata into Git and What will the optimal release flow using sandboxes?

The current development and deployment is from sandbox to sandbox and the plan is to move to git based deployments. What is the best way to get all the metadata of an existing org into Git(bitbucket) ...
1
vote
1answer
712 views

Azure DevOps as CI for Salesforce

Have someone tried Azure DevOps as a CI tool for Salesforce project? If so, what are the cons? Am I able to use sfdx or at least ant scripts for testing and deploying? If Azure is not an option, ...
1
vote
1answer
64 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 ...
0
votes
1answer
148 views

ERROR: Invalid record ID. Specify valid record ID value

I have set up Travis CI based on the salesforce trailhead for it, I have used the .travis.yml file, completed the steps. However, when the Travis CI tries to create a scratch org (sfdx force:org:...
2
votes
3answers
400 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 ...
0
votes
1answer
225 views

Pass variables to build.xml from VSTS build [closed]

I'm setting up the build pipeline in VSTS (Visual Studio Team Services), and I'm not able to pass a variable to the build. I don't know what the syntax should I use actually to get the variable in the ...
3
votes
1answer
113 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 ...
6
votes
2answers
428 views

Using SFDX For CI with Communities, how to activate Community to get Guest UserLicense

I am working on a new implementation of Communities for a project using SFDX. I pulled in the relevant files related to hosting a community but when I do a sfdx force:source:push I get an error on the ...
0
votes
1answer
87 views

Hang on JWT auth in Jenkins Create Scratch Org stage on OSX

I have followed the steps in the Salesforce Developer page to setup Jenkins for SFDX CI build. It always hangs on the task: rc = sh returnStatus: true, script: "${toolbelt}/sfdx force:auth:jwt:grant ...
1
vote
0answers
51 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 ...
1
vote
1answer
254 views

SFDX orgs resetting between Bitbucket Pipelines steps

I'm trying to set up sfdx on Bitbucket Pipelines. It's going well but I'm facing a weird issue when using the steps feature. Here's a snippet of my build file: - step: name: Auth. with ...
3
votes
2answers
792 views

Summer18: Test only deployment cannot insert a new Master-Detail field

Today SF has just pushed Summer18 (api version 43) to our sandboxes. And now when our CI process is trying to validate code from branch against empty SF org, it throws bunch of same error messages ...
3
votes
1answer
776 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 ...
3
votes
1answer
262 views

Unable to authorise dev hub on jenkins with it hanging on the force:auth:jwt:grant step

Issue I am trying to setup jenkins to build using the Jenkinsfile and the sfdx cli. I have been following the steps and examples here. I have followed the steps and tried a few times from scratch but ...
0
votes
2answers
399 views

Is Salesforce DX compatible with Classic?

There is no answer in the documentation. Thanks
10
votes
3answers
2k views

How to install managed package using Salesforce DX CLI?

I am trying to follow the Trailhead module on CI and Salesforce DX. I tried to push some of my Lightning components which depend on a managed package in App Exchange. I would like to know how to ...
5
votes
2answers
3k views

Run Specific Tests with Ant Deploy specified by command line or file

When deploying with ant you have the option to specify which tests to run, e.g. <target name="deploy"> <sf:deploy username="${sf.username}" password="${sf.password}" ...
0
votes
1answer
130 views

Continuous Integration in Salesforce for Packaging Orgs with Jenkins, Bit Bucket

We have different Packing orgs in our company with different functionalities. we want to setup continuous integration with these orgs and Jenkins server. Could someone suggest me how to set up CI for ...
1
vote
2answers
470 views

Salesforce and Continuous Integration

I want to use CI in our company with ANT Migration Tool. In our case TeamCity, but it doesn't matter. We have our Production organization and a few sandboxes. Developer sandbox, QA sandbox, UAT ...
1
vote
1answer
27 views

Report test failures directly into github in a Salesforce/Github CI environment?

Wondering if any wizards out there possess code or a recipe that, upon a pull request, executes all tests and reports failures directly back into Github?
6
votes
1answer
1k views

What is a good and free static apex code review plugin for IDEA, eclipse and ANT?

Java has a number of useful and FREE tools for reviewing not just formatting and style but quality of code and bad coding habits. Checkmarx and Code scan could work but they are not free and open ...
6
votes
1answer
1k views

Jenkins + Force.com Migration Tool - REQUEST_RUNNING_TOO_LONG

I am currently receiving a REQUEST_RUNNING_TOO_LONG error when using the Force.com Mirgration Tool and Ant with Jenkins. I've read quite a few posts about this error and understand that this is ...
1
vote
1answer
631 views

Set up Travis CI with Salesforce.com

I hope someone out there can help setting up Travis CI with Salesforce.com. I started by looking into this guide: http://blog.deadlypenguin.com/blog/2015/04/22/travis-ci-salesforce/, So far without ...
2
votes
0answers
61 views

it is possible get Salesforce ChangeSet components throw API or Apex? [duplicate]

I just wondering about the way to retrieve information from a changeset, I want to use it for source control proposes. Someone know a way to do this?
3
votes
1answer
106 views

Where to get CumulusCI Jenkins Configuration Zip

I am currently struggling to get a CI process setup on Jenkins using Cumulus CI. Does anybody know where I can get an export of someone's Jenkins Configuration? I have tried searching, but so far I ...
1
vote
0answers
21 views

migration tool deploys all not just changes [duplicate]

When I use a SF:deploy it deploys all the code in the src folder not just the files that have been changed. How can I make it so that it only deploys the files that have changed?
2
votes
1answer
2k views

Continuous Integration with Metadata API and flow/processes deployment [duplicate]

Duplicated: Please see Flows/Processes, Version Control and CI Using CI for deploying flows/processes to the same environment results in error if existing version has been already activated: flows/...
3
votes
1answer
658 views

Can't copy orgs with Migration Tool

I'm trying to implement CI for the company I work for, and having troubles with the Migration Tool. I got a package.xml with all the metadata information from my origin org, and I'm trying to deploy ...
3
votes
2answers
2k views

Deploy changes from bitbucket using ANT Migration Tool

I'm starting to implement Continuous Integration and I'm using Bitbucket, Jenkins and the ANT Migration Tool provided by Salesforce. I want to deploy from a Dev Sandbox environment to a Dev-...
3
votes
1answer
458 views

Continuous integration challenges when pushing meta-data like objects, entilement etc

I've been trying to set up continuous integration between dev (developers' personal dev sandbox) - dev integration box using Jenkins. It works well when dealing with classes, VF pages and triggers.But ...
7
votes
1answer
1k views

Customizing Package.xml for updating Sandboxes with Continuous Integration

I am setting up a continuous integration for a team development process using GitHub and Ant (and eventually Jenkins) and have a problem with deploying to dev sandboxes to keep them in sync with ...
2
votes
2answers
447 views

Does any one configured jenkins & selenium for CI in force.com

Are there any tutorials for config jenkins which fires selenium to run tests.