Most answered questions in Jenkins

+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
108,975 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
9,216 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
45,288 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
36,464 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
41,416 views
+1 vote
6 answers

Unable to login to Jenkins even if I enter valid credentials.

Disable security by editing these two classes ...READ MORE

Apr 26, 2019 in Jenkins by Vedant
48,354 views
0 votes
5 answers

What is the default Jenkins password?

Change the shell to /bin/bash instead of bin/false ...READ MORE

Apr 23, 2019 in Jenkins by Vinod
45,676 views
0 votes
5 answers

Error: Docker not found when building docker image on Jenkins pipeline

Check if you have Docker installed and ...READ MORE

Apr 23, 2019 in Jenkins by Vimal
23,574 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
17,129 views
0 votes
5 answers

How to resolve this error “Jenkins Host key verification failed”?

HI Mam, Please check the following solution:: 1. Switch ...READ MORE

May 3, 2019 in Jenkins by anonymous
62,155 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
33,407 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
28,354 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
7,538 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
29,792 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
47,606 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
24,613 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
78,867 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
21,867 views
0 votes
3 answers

Error: ‘Jenkins: Cannot define variable in pipeline stage’

https://stackoverflow.com/questions/39832862/jenkins-cannot-define-var ...READ MORE

Mar 13, 2019 in Jenkins by Charles Wu
5,139 views
0 votes
3 answers

How can I make Jenkins CI with Git trigger on pushes to master?

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

Aug 7, 2019 in Jenkins by Sirajul
• 59,230 points
5,018 views
0 votes
3 answers

How to get the Maven Version of a project in Jenkins?

Here is a snippet from our Jenkins ...READ MORE

Oct 4, 2019 in Jenkins by Petr Doležal
23,264 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
13,943 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
119,769 views
+1 vote
3 answers

Rename jobs from jenkins file

Go to the Configure screen and edit the Project name field ...READ MORE

Oct 25, 2018 in Jenkins by Laila
4,791 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
58,554 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,770 points
5,667 views
0 votes
2 answers

How to change the default Jenkins port in Windows?

Hi@akhtar, Yes, you can change Jenkins port no. ...READ MORE

Jun 3, 2020 in Jenkins by MD
• 95,460 points
29,426 views
0 votes
2 answers

/tmp/jenkins7925067706776714433.sh: ./deploy: Permission denied in jenkins

To avoid this error, You should add ...READ MORE

Mar 31, 2020 in Jenkins by akhtar
• 38,260 points
3,716 views
+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
90,041 views
0 votes
2 answers

Jenkins and Docker : Build a Docker image using an jenkins pipeline and push it into docker registry.

In the illustration below, i have created a ...READ MORE

Aug 26, 2019 in Jenkins by Sirajul
• 59,230 points
146,141 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
123,247 views
0 votes
2 answers

how to execute a shell script post build step in Jenkins?

You could use the Post Build Task Plugin ...READ MORE

Jul 31, 2019 in Jenkins by Sirajul
• 59,230 points
29,529 views
0 votes
2 answers

how to manually install plugins in Jenkins?

You can download the plugin (*.hpi file) ...READ MORE

Aug 1, 2019 in Jenkins by Sirajul
• 59,230 points
5,602 views
0 votes
2 answers

How do I schedule job periodically in Jenkins?

The format is as follows: MINUTE (0-59), HOUR ...READ MORE

Aug 2, 2019 in Jenkins by Sirajul
• 59,230 points
9,450 views
0 votes
2 answers

How to disable or reset security settings in Jenkins?

One other way would be to manually ...READ MORE

Aug 2, 2019 in Jenkins by Sirajul
• 59,230 points
20,978 views
0 votes
2 answers

What is the command to restart jenkins through command line in linux?

On Ubuntu or Debian, when installed through apt-get/dpkg: $ ...READ MORE

Aug 1, 2019 in Jenkins by Sirajul
• 59,230 points
20,745 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 112,474 views
0 votes
2 answers
0 votes
2 answers

What does the AWS CodeDeploy Jenkins Plugin do?

AWS CodeDeploy is AWS service that coordinates application ...READ MORE

Aug 8, 2019 in Jenkins by Sirajul
• 59,230 points
2,508 views
0 votes
2 answers

integrate Jenkins with AWS CodeCommit

jenkins user add in visudo or /etc/sudoers READ MORE

May 14, 2019 in Jenkins by anonymous
3,781 views
0 votes
2 answers

What are the pre-requisites I need to keep in mind while installing Jenkins on windows?

Have a look at this thread to ...READ MORE

Feb 28, 2019 in Jenkins by Kim
2,060 views
0 votes
2 answers

How to create backup and copy files in jenkins?

You would require to copy and take ...READ MORE

Aug 1, 2019 in Jenkins by Sirajul
• 59,230 points
7,241 views
0 votes
2 answers

How do i move jenkins from one server to another?

1. Copy all the files in your JENKINS_HOME directory over ...READ MORE

Aug 2, 2019 in Jenkins by Sirajul
• 59,230 points
52,810 views
0 votes
2 answers

How do I secure my jenkins build?

Anyone can make use of the URL ...READ MORE

Aug 7, 2019 in Jenkins by Sirajul
• 59,230 points
1,423 views
0 votes
2 answers

Unable to start the virtual machine

This means the adapter is trying to ...READ MORE

Aug 25, 2020 in Jenkins by Pistle
• 1,000 points
925 views
0 votes
2 answers

Nonexistent host networking interface Error while starting VM

This occurs mainly when the following is ...READ MORE

Aug 25, 2020 in Jenkins by Pistle
• 1,000 points
1,099 views
0 votes
2 answers

timeout issue when trying to connect instance with putty

Hey @Ali, You might not have enabled ...READ MORE

Dec 20, 2018 in Jenkins by Eric
1,085 views
0 votes
2 answers

How could I integrate Selenium with Jenkins?

Hey @Ali, follow these steps to integrate ...READ MORE

Dec 20, 2018 in Jenkins by Eric
1,579 views
0 votes
2 answers

How do I start jenkins on my Virtual Machine?

To start the Jenkins server please follow ...READ MORE

Dec 17, 2018 in Jenkins by Arohi
8,752 views
0 votes
2 answers

How do I start jenkins as an admin without having the need of entering credentials?

I found a way around: Go to /Users/Username/.jenkins/ Open config.xml and remove ...READ MORE

Aug 22, 2018 in Jenkins by DareDev
• 6,890 points
7,978 views