Questions tagged [jenkins]

Jenkins is an open source continuous integration tool written in Java. The project was forked from Hudson after a dispute with Oracle, which claims the right to trademark the Hudson name and has applied for such a trademark as of December 2010.

Filter by
Sorted by
Tagged with
2 votes
2 answers
550 views

SFDX Jenkins Setup: Scratch Org not accessible from remote machine

I am currently doing a POC for the Continuous Integration in Salesforce DX through Jenkins. My Jenkins Setup is such that the job-run creates an on-demand agent which executes the job and gets scraped ...
  • 21
1 vote
1 answer
67 views

Jenkins not processing Apex pages

This is not exactly related to an issue in Salesforce but asking anyway. I had build scheduled in Jenkins to move changes to our QA Salesforce org. Everything is getting moved except for Visualforce ...
  • 748
0 votes
1 answer
293 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 ...
0 votes
0 answers
161 views

How to handle code dependency while deploying code?

Here is a scenario what I have, I have two dev org (development, Testing), one Bitbucket repository and AWS EC2 that contain Jenkins with ANT migration tool. I am not able to move all code in one ...
0 votes
1 answer
472 views

ANT Migration to add namespace to packaging org? [closed]

I have two dev org one where I did code and other is packaging org where I have to create a managed package. How can I configure ANT tool with build.xml and build.properties files to add the ...
4 votes
1 answer
944 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 ...
2 votes
1 answer
1k views

Jenkins CI with Salesforce: how to generate package.xml which only contains changed metadata files

To automate our salesforce development flow, we are using Git + Jenkins + Ant to deploy all committed changes to target organization. It works fine! But the only big problem is that all metadata files ...
  • 840
0 votes
1 answer
621 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:...
2 votes
1 answer
3k views

Installing Jenkins on Heroku [closed]

Currently I have Jenkins installed in my laptop and works fine. I am to move this setup to cloud. My client has bought Heroku license and was considering using Heroku space n license to install ...
0 votes
1 answer
9k 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?
  • 4,592
2 votes
0 answers
621 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 ...
  • 1,048
1 vote
0 answers
659 views

Facing issue in Jenkins integrated with Apex PMD

I have integrated Jenkins with PMD checksytle for Apex. package.xml <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <...
3 votes
1 answer
8k views

Error: Cannot change which global value set this picklist uses

While deploying using Jenkins I get the error: Error: Cannot change which global value set this picklist uses I have made a global picklist which has three values out of which one is default. <...
2 votes
0 answers
67 views

Force.com Migration Tool "Validate Only" causing later compilation errors

We just implemented a new process in our development cycle where code that has been completed is validated against a target org to check that no packaging specific rules have been violated (such as ...
  • 3,972
0 votes
0 answers
491 views

integrating jenkins with salesforce with svn as code repository

Error message: Unable to find build script at C:\Users.jenkins\workspace\sfdc\https:\url\svn\svn_test\branches\Enhancement\build.xml Finished: FAILURE I am having issues when integrating jenkins ...
4 votes
1 answer
507 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,758
4 votes
1 answer
674 views

Create developer sandbox from Jenkins

I know how to create them manually through the interface (it is really easy) setup > sandbox > new sandbox > and follow the GUI. Is there an API or a script that would allow me to create a sandbox ...
  • 351
1 vote
1 answer
568 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
4 answers
13k 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,074
1 vote
1 answer
263 views

Salesforce Change Management - multiple development sandboxes

I want to know what can be the best architecture concerning my case. In my organization I am planning to use Git, Jenkins and Gitlab. I have 4 Dev sandboxes and 4 QA sandboxes which point to ...
0 votes
1 answer
151 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 ...
  • 11
2 votes
1 answer
1k views

Moving code from Git Repository to sandbox using Ant

We're trying to implement source control using GitLab and Jenkins. I know how to merge code between two branches in Gitlab. That has to trigger a job in Jenkins to deploy changes from the remote ...
1 vote
0 answers
201 views

Jenkins job for Salesforce deployment printed the -Dsf.password in console

Am using the Jenkins to do the Salesforce deployment. Build is parameterised. When I sun the ANT build for deployment, in console I could see the passport printed by the Salesforce ANT command. Is ...
6 votes
1 answer
2k 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 ...
3 votes
1 answer
181 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,297
3 votes
1 answer
2k views

Validate build before deployment in CI

We are using Jenkins and git to deploy and maintain code to our continuous integration Salesforce sandbox. We have team members working in different timezones and maintaining green build is a must. ...
6 votes
2 answers
2k views

How to do incremental builds in Jenkins using ANT Migration Tool

I am able to run ANT build in Jenkins , how can I configure Jenkins to only build recent revisions or to skip commits which were build in previous run. By build , I mean to deploy changes to other ...
4 votes
2 answers
3k 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-...
  • 1,279
0 votes
3 answers
246 views

What is the value that Jenkins provides in the Salesforce ecosystem?

I believe that it provides just automated builds, which can be paired up with automated testing. Is there any other value? How can developers collaborate and gain more visibility by using Jenkins? ...
0 votes
1 answer
245 views

Automation Deployment of Declarative and Imperative Components

This is a slightly large Architectural question. Within Salesforce you have many components. Those components are either declarative or imperative (like APEX and VF). As implementations get larger the ...
0 votes
1 answer
4k views

Salesforce Jenkins Build Failing

We have jenkins setup with our internal GIT repos and backing up our production org and a few sandboxes. I'm trying to add a few more builds in Jenkins for a few other sandboxes, but when I run the ...
  • 21
3 votes
1 answer
505 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 ...
  • 31
4 votes
0 answers
177 views

Has anyone integrated Stratosource and Jenkins for continuous integration?

So I have a current CI setup that enables me to pull metadata from Salesforce org(using Jenkins + Ant migration tool), push it to git, create a package out of it and then re-deploy this package to ...
9 votes
5 answers
7k views

Error: The method is referenced by Visualforce Page in salesforce.com. Remove the usage and try again

When a controller has a method or a variable that is referenced in the VF page, and you remove or rename that element in both - page and controller, then when you click save, you get an error saying ...
3 votes
1 answer
2k views

Exclude files on ant deployment

What if I want all the classes EXCEPT a few? For example, if I have a scheduled batch that definitely won't deploy, how would I say "not that" but not have to manually name all the other ones? ...
8 votes
1 answer
5k views

Deploying standard picklists via Metadata API

Have some trouble deploying leadSource and Industry picklists via Metadata API. Had to comment out both of them from the build. It may have something to do with these picklists being shared by ...
7 votes
1 answer
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
2 answers
581 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.
17 votes
4 answers
5k views

Are there any tutorials for configuring Jenkins with the Force.com Migration Tool?

I have watched a couple of interesting videos from Dreamforce about using Jenkins for Continuous integration, none of them go into the details of configuring Ant withForce.com Migration Tool in ...
  • 7,895

1
2