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
86,949 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,610 points
116,471 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
23,458 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
27,235 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
7,919 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,570 points
34,803 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,230 points

edited May 28, 2019 by Sirajul 108,657 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
107,463 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,440 points
44,272 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,440 points
5,435 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,440 points
5,552 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,230 points
1,665 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
1,967 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,230 points
121,492 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
26,527 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
715 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,360 points
2,579 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,360 points
6,894 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
15,724 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
46,415 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
39,365 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
55,704 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
32,366 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,440 points
11,475 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,910 points
5,011 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,440 points
42,470 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,440 points
11,974 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,440 points
20,494 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
1,389 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,440 points
21,670 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
1,475 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
756 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,230 points
924 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
10,094 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,230 points
45,400 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
7,501 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
3,965 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,230 points
74,965 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
4,132 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,230 points
4,946 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
20,124 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,360 points
17,987 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
3,977 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,610 points
6,384 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
8,054 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
28,121 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,360 points
12,880 views