Most voted questions in Jenkins

+5 votes
2 answers

How to assign a groovy variable to a shell variable?

I have tried the following in my ...READ MORE

Dec 4, 2019 in Jenkins by Raveendiran
• 980 points
92,822 views
+5 votes
3 answers

How to trigger a Jenkins pipeline A in another Jenkins pipeline B?

You can run the following code, its ...READ MORE

Jul 5, 2018 in Jenkins by Sophie may
• 10,620 points
121,828 views
+5 votes
4 answers

How can I run a Jenkinsfile from a particular folder?

Consider the below points: The Freestyle project ...READ MORE

Mar 27, 2018 in Jenkins by anonymous
25,453 views
+5 votes
5 answers

Jenkins properties file

Follow these steps: 1. Install ‘EnvInject’ plug-in in the Jenkins ...READ MORE

Aug 2, 2018 in Jenkins by lina
• 8,220 points
29,532 views
+4 votes
1 answer

[Pipeline] withDockerContainer Jenkins does not seem to be running inside a container

Hey @Karan, I just missed out on ...READ MORE

Nov 14, 2019 in Jenkins by Eric
9,405 views
+4 votes
7 answers

How to set the pipeline name and description for a Jenkinsfile?

You can rename pipeline jobs in jenkins ...READ MORE

Oct 11, 2018 in Jenkins by Hannah
• 18,520 points
38,126 views
+3 votes
2 answers

Is there a way to restrict permissions to a user per individual job in jenkins?

Yes, you can configure user permissions per ...READ MORE

May 28, 2019 in Jenkins by Sirajul
• 59,190 points

edited May 28, 2019 by Sirajul 114,212 views
+3 votes
12 answers

Set environment variables in Jenkins

You can try something like this stages { ...READ MORE

Dec 10, 2018 in Jenkins by Celia
111,406 views
+3 votes
7 answers

Is it possible to shift or move jobs between two jenkins servers?

Hi, You can copy Jobs in between your ...READ MORE

Dec 16, 2020 in Jenkins by MD
• 95,460 points
46,442 views
+2 votes
1 answer

stderr: remote: Invalid username or password.

Hi@akhtar, If your code is available in jenkins ...READ MORE

May 7, 2020 in Jenkins by MD
• 95,460 points
6,465 views
+2 votes
1 answer
+2 votes
1 answer

Want to Invoke Other Jenkins Job from Declerative pipleline || Not working

Hi@atul, As it is showing in your error ...READ MORE

Apr 8, 2020 in Jenkins by MD
• 95,460 points
7,342 views
+2 votes
1 answer

In Jenkins while creating node when we select option 'launch agent by Connecting it to the master' what should be launch command?

The command looks something like this:  java -jar ...READ MORE

Nov 4, 2019 in Jenkins by Sirajul
• 59,190 points
2,375 views
+2 votes
0 answers

I'm facing the issue while connecting from pipeline script to svn (scm) checkout

Running in Durability level: MAX_SURVIVABILITY [Pipeline] Start of ...READ MORE

Aug 26, 2019 in Jenkins by sk
2,641 views
+2 votes
2 answers

what is the key difference between Declarative pipeline and scripted pipeliine

The key difference between Declarative pipeline and Scripted pipeline ...READ MORE

Aug 13, 2019 in Jenkins by Sirajul
• 59,190 points
124,607 views
+2 votes
1 answer

How to run a job in Jekins by a different user ?

To run a job by a specific ...READ MORE

Jun 17, 2019 in Jenkins by Neel
• 3,020 points
28,261 views
+2 votes
1 answer

I have installed cobertura plugin but my build is not succesful.

Please let us know the Goal you ...READ MORE

Dec 18, 2018 in Jenkins by Arohi
1,385 views
+2 votes
1 answer

Subversion (SVNKit) working with Jenkins

Jenkins doesn't use the installed Subversion command ...READ MORE

Aug 8, 2018 in Jenkins by Kalgi
• 52,340 points
3,936 views
+2 votes
4 answers

Jenkins integration for dotnet test

You can use the following Pipeline code ...READ MORE

Aug 8, 2018 in Jenkins by Kalgi
• 52,340 points
8,302 views
+2 votes
5 answers

How to fix this error “Invalid command ProxyRequests” while setting up Jenkins?

The reason why you're getting this error ...READ MORE

May 6, 2019 in Jenkins by Vijay
18,227 views
+2 votes
4 answers

How to run Jenkins jobs on multiple slaves with a single job configuration?

use multijob plugin READ MORE

Jan 3, 2019 in Jenkins by Ajit Jadhav
48,755 views
+2 votes
6 answers

Jenkins unable to run jobs (pending - waiting for next executor)

Increase the number of executors. I had ...READ MORE

Apr 24, 2019 in Jenkins by Maya
43,119 views
+2 votes
3 answers

Permission denied error while running a simple job in Jenkins

Hey @Hannah, try changing the permissions using ...READ MORE

Oct 25, 2018 in Jenkins by krishti
60,205 views
+2 votes
5 answers

stash/unstash to transfer data in Jenkins from a build container to the other node.

Since the container gets destroyed once the ...READ MORE

Dec 21, 2018 in Jenkins by anonymous
34,344 views
+1 vote
1 answer

How to restart Jenkins manually?

Hi@akhtar, To restart Jenkins manually, you can use ...READ MORE

Oct 22, 2020 in Jenkins by MD
• 95,460 points
12,976 views
+1 vote
2 answers

I'm unable to build my code in Jenkins. Getting the error shown below.

Hi, @Ashutosh, Do you have a pom.xml in ...READ MORE

Aug 3, 2020 in Jenkins by Gitika
• 65,730 points
6,370 views
+1 vote
1 answer

java.lang.NoSuchMethodError: No such DSL method 'pipeline' found among steps

Hi@akhtar, I think you did not install your ...READ MORE

Jul 7, 2020 in Jenkins by MD
• 95,460 points
47,418 views
+1 vote
1 answer
+1 vote
1 answer

Error: Unable to access jarfile agent.jar

Hello@akhtar, Whenever we try to connect windows system ...READ MORE

May 29, 2020 in Jenkins by MD
• 95,460 points
13,358 views
+1 vote
1 answer
+1 vote
1 answer

javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

Hi@akhtar, I also faced the same issue and I ...READ MORE

May 12, 2020 in Jenkins by MD
• 95,460 points
21,696 views
+1 vote
0 answers

Multibranch pipeline job not triggered when using shared libraries

I would highly appreciate if you could ...READ MORE

May 5, 2020 in Jenkins by Ubaid
• 130 points
2,046 views
+1 vote
1 answer

Failed to connect to repository :Error performing git command: git ls-remote -h https://github.com/jenikis_hook.git HEAD

Hi@akhtar, There may be several reasons behind this ...READ MORE

May 4, 2020 in Jenkins by MD
• 95,460 points
23,781 views
+1 vote
1 answer

How to run selenium test kit in Jenkins remotely?

Selenium tests can be run on remote ...READ MORE

Apr 1, 2020 in Jenkins by Liana
2,414 views
+1 vote
1 answer

pull and run pushed docker image

Let's break this into 2 stages: Stage 1 - ...READ MORE

Feb 25, 2020 in Jenkins by Adam
1,428 views
+1 vote
1 answer

How to configure SCM Plastic Maven Project in Jenkins?

Hey @Anoop, In order to create a ...READ MORE

Nov 19, 2019 in Jenkins by Sirajul
• 59,190 points
1,658 views
+1 vote
1 answer

Unable to extract elements from a ArrayList and assign to a variable

I got the solution for this: pipeline ...READ MORE

Sep 5, 2019 in Jenkins by Abhilash
• 380 points
11,506 views
+1 vote
1 answer

How to extract a substring of a string in a declarative pipeline code?

This would have been more easier using ...READ MORE

Aug 16, 2019 in Jenkins by Sirajul
• 59,190 points
49,201 views
+1 vote
1 answer

Example for building an artifact using Jenkins and deploying it using Ansible

Hey @Harsh, follow this to get an ...READ MORE

Aug 1, 2019 in Jenkins by Vijay
8,831 views
+1 vote
0 answers

How to change the jenkins job status manually ( user interaction ) ?

I have 7 freestyle jobs (A,B,C,D,E,F,G) in ...READ MORE

Jul 24, 2019 in Jenkins by Veeranji
• 130 points
4,823 views
+1 vote
3 answers

How to auto build a job in jenkins if there is any change in code on Github repository?

To automatically run build on code commit, follow ...READ MORE

Jul 31, 2019 in Jenkins by Sirajul
• 59,190 points
80,676 views
+1 vote
1 answer

What is the difference between Hudson and Jenkins?

Jenkins and Hudson are Continuous Integration tool, ...READ MORE

Jun 17, 2019 in Jenkins by Neel
• 3,020 points
5,155 views
+1 vote
1 answer

Is it possible to create a jenkins pipeline without using a jenkinsfile?

Yes, you can create a Jenkins pipeline ...READ MORE

May 31, 2019 in Jenkins by Sirajul
• 59,190 points
6,644 views
+1 vote
3 answers

"No such file pom.xml" error in Jenkins

Can you please che ck the location ...READ MORE

May 16, 2019 in Jenkins by Samir
23,294 views
+1 vote
1 answer

how to install jenkins and how to run pom.xml through jenkins

The complete process to install Jenkins can be ...READ MORE

Feb 12, 2019 in Jenkins by Kalgi
• 52,340 points
19,729 views
+1 vote
1 answer

issue while deploying a war file through jenkins in docker container

Please make sure while deploying to the ...READ MORE

Dec 17, 2018 in Jenkins by Arohi
4,817 views
+1 vote
1 answer

Error: Maven runs with the wrong JDK on Jenkins

Perform the following steps: 1) Navigate to Manage ...READ MORE

Aug 8, 2018 in Jenkins by Sophie may
• 10,620 points
7,612 views
+1 vote
7 answers

Error: Jenkins Maven Build 137

I disagree with @Pam's answer. The problem ...READ MORE

May 6, 2019 in Jenkins by Danica
10,287 views
+1 vote
4 answers

Is there a way to change the Jenkins build number while building a job?

If you have access to the script ...READ MORE

May 7, 2019 in Jenkins by Atul
31,171 views
+1 vote
3 answers

Is it possible for the Jenkins pipeline function 'fileExist' to handle wildcards?

If you do not have the plug-in, ...READ MORE

May 8, 2019 in Jenkins by Kalgi
• 52,340 points
15,088 views