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
77,718 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,590 points
99,082 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
21,040 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
24,569 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
6,634 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
32,068 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,210 points

edited May 28, 2019 by Sirajul 94,911 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
104,732 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,420 points
40,362 views
+2 votes
1 answer
+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,420 points
4,671 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,420 points
4,308 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,210 points
1,136 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,476 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,210 points
114,199 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
23,888 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
415 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,350 points
2,055 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,350 points
6,050 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
12,175 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
42,419 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
33,526 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
46,179 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
30,248 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,420 points
8,172 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
3,619 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,420 points
32,706 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,420 points
10,441 views
+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,420 points
18,227 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,083 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,420 points
15,611 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
877 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
421 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,210 points
649 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
8,332 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,210 points
37,890 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
6,315 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,378 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,210 points
58,987 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
3,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,210 points
3,367 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
16,297 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,350 points
15,002 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,384 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,590 points
4,815 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
6,409 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
24,674 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,350 points
11,338 views