Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs
7 votes
Accepted

Any way to get consistent test counts when parallel testing is used?

I just completed a parallel test run. Note that all these tests currently pass when run individually or in the synchronous test mode. After the parallel run I then ran the same SOQL query you are: ...
Daniel Ballinger's user avatar
6 votes
Accepted

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

Some installations prompt you for permissions/confirmations. Check the build failure log and see if there's some pending prompting during your Add other packages stage. If that's the case, add the --...
Francesco Pitzalis's user avatar
4 votes

Any way to get consistent test counts when parallel testing is used?

The underlying bug that appears to be the culprit in this issue has been published as Known Issue W-7834236. Some Apex unit tests fail in a way that only shows in specific test UIs. The ...
David Reed's user avatar
  • 93.1k
4 votes
Accepted

Error on secret-tool for sfdx force:auth:jwt:grant

You have to export keychain before executing session using secret tool for CI/headless server. Change export SFDX_USE_GENERIC_KEYCHAIN=true To export SFDX_USE_GENERIC_UNIX_KEYCHAIN=true devolpers ...
Vishal Deshmukh's user avatar
3 votes
Accepted

Deploying to Scratch Org in Jenkins pipeline with ant

I recommend you to use sfdx commands instead of the old ant. sfdx still will be able to deploy your classic metadata package using a sfdx:mdapi:deploy command. Use the mdapi commands to retrieve and ...
Oleksandr Berehovskyi's user avatar
3 votes
Accepted

EAI_AGAIN errors when pushing or running unit tests in a newly created scratch org from Jenkins CI using SFDX

Tried adding 3 minute, 6 minute, 9 minute etc delay for each parallel build so that the builds are not at the same phase at the same time. Resulted in one clean build but looks like that was just ...
Keith C's user avatar
  • 136k
2 votes
Accepted

How can I simplify Jenkinsfile-based SFDX builds by using a Jenkins Shared Library?

My colleague has built this open source Jenkins Shared Library sfdx-jenkins-shared-library to solve this problem specifically for SFDX builds. See his blog post Streamlining SFDX on Jenkins that ...
Keith C's user avatar
  • 136k
2 votes
Accepted

Any way to deploy extra components on top of a sfdx force:source:push?

Thanks sfdcfox! This command allows extra files to be deployed on top of a sfdx force:source:push with the files located in an arbitrary folder: sfdx force:source:deploy --sourcepath config-...
Keith C's user avatar
  • 136k
2 votes
Accepted

SFDX DSL for Jenkins pipelines?

Keith Clarke: Now there is, what you started: https://github.com/claimvantage/sfdx-jenkins-shared-library. I'm glad to contribute to that. Spreading the word at https://medium.com/@jefersonchaves/...
Jeferson Chaves's user avatar
2 votes

SFDX DSL for Jenkins pipelines?

I have the sample pipeline that I used to test Jenkins on localhost, hope it can be useful for you. You will need to change environment variables that are hardcoded to the System environments on the ...
m_konyk's user avatar
  • 546
2 votes

SFDX Jenkins Authorization

There are some steps to be followed here. It cannot be answer in this scope, but on high level. First you need to Store sf auth url for target environment. Only after that you need to configure your ...
Nagendra Singh's user avatar
1 vote

sfdx auth:jwt:grant: Unexpected arguments: -f

The "f" flag for this command only uses a single dash so it's -f <keyfile> and not --f <keyfile> as you currently have Double-dashes are generally used for flags that are words, ...
Derek F's user avatar
  • 62.1k
1 vote
Accepted

I need community perspective in regards to Jenkins Salesforce CI setup for deployments with ant Migration tool

In order not to invest time in an old tool ant migration tool, I recommend you take a look at sfdx. sfdx is a new tool with all capabilities of ant and has additional useful functionality. Here is a ...
Oleksandr Berehovskyi's user avatar
1 vote

Jenkins + Sfdx Auth issue

The Error that you are getting is because of ${toolbelt} be sure that you have installed the sfdx in your Jenkins under Global Tools configuration. You can refer below link for the same: Install ...
Amit Singh's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible