Trending questions in Jenkins

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,070 points
123,278 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
97,092 views
+3 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,070 points
84,229 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,070 points

edited May 28, 2019 by Sirajul 60,731 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 3, 2019 in Jenkins by Raveendiran
• 960 points
55,497 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,550 points
58,757 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,070 points
30,239 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,300 points
28,132 views
0 votes
1 answer

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,300 points
16,508 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,300 points
13,352 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,070 points
30,573 views
0 votes
1 answer

How can I enable jenkins to execute the shell commands as sudo or root?

Hey,  Create a freestyle project on Jenkins Use the ...READ MORE

Oct 23, 2020 in Jenkins by Hana
7,335 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
24,042 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,300 points
13,262 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
34,481 views
0 votes
1 answer

How to clone a job in Jenkins?

Hi@akhtar, You can clone a Job in Jenkins. ...READ MORE

Oct 24, 2020 in Jenkins by MD
• 95,300 points
4,264 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,070 points
23,058 views
0 votes
1 answer

How do I set up a windows_slave agent via JNLP, If I have a Jenkins master configured on linux?

JNLP(JAVA NETWORK LAUNCH PROTOCOL) is used to Connect to/launch ...READ MORE

Jun 3, 2019 in Jenkins by Sirajul
• 59,070 points
25,720 views
0 votes
5 answers

What is the default Jenkins password?

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

Apr 22, 2019 in Jenkins by Vinod
32,597 views
0 votes
1 answer

How to cleanup Jenkins workspace?

Hi@akhtar, There is a way to clean up ...READ MORE

Oct 24, 2020 in Jenkins by MD
• 95,300 points
3,321 views
0 votes
1 answer

How to add a timeout step to Jenkins Pipeline?

Hi@akhtar, You can execute the code inside the ...READ MORE

Dec 8, 2020 in Jenkins by MD
• 95,300 points
1,198 views
0 votes
1 answer

How to remove an existing job from one view in Jenkins?

Hi@akhtar, You can remove or add jobs in ...READ MORE

Dec 8, 2020 in Jenkins by MD
• 95,300 points
878 views
0 votes
1 answer

How to build specific tag in Jenkins?

Hi@akhtar, You may able to do that by using ...READ MORE

Dec 8, 2020 in Jenkins by MD
• 95,300 points
776 views
0 votes
1 answer

Access Denied user is missing the Job/Create permission in Jenkins.

Hi@akhtar, The user doesn't have sufficient permission to ...READ MORE

Dec 6, 2020 in Jenkins by MD
• 95,300 points
625 views
+2 votes
1 answer
0 votes
1 answer

What is the difference between Jenkins and Maven?

Hi@akhtar, A maven is a build tool designed to manage ...READ MORE

Dec 8, 2020 in Jenkins by MD
• 95,300 points
445 views
0 votes
1 answer

How to run a script as root in Jenkins?

Hi@akhtar, You need to run the script with ...READ MORE

Oct 25, 2020 in Jenkins by MD
• 95,300 points
2,148 views
0 votes
1 answer

How to set permissions for a user in Jenkins?

Hi@akhtar, You can give access to your user ...READ MORE

Dec 6, 2020 in Jenkins by MD
• 95,300 points
309 views
0 votes
1 answer

Jenkins: "Error: A JNI error has occurred, please check your installation and try again"

In my case, the issue was caused ...READ MORE

Sep 17, 2020 in Jenkins by Kim
3,765 views
0 votes
1 answer

What is the use of audit trail plugin in Jenkins?

Hi@akhtar, Audit Trail Plugin keeps a log of ...READ MORE

Dec 6, 2020 in Jenkins by MD
• 95,300 points
268 views
0 votes
1 answer

How to enable audit trail in Jenkins?

Hi@akhtar, You need to install the Audit Trail plugin ...READ MORE

Dec 6, 2020 in Jenkins by MD
• 95,300 points
246 views
0 votes
1 answer

Jenkins vs selenium?are they even comparable ?

Hi@aminegac, Jenkins is a CI/CD tool. So you ...READ MORE

Dec 8, 2020 in Jenkins by MD
• 95,300 points
167 views
0 votes
1 answer

How to run the Jenkins job using shell script ?

Check if this can help https://myopswork.com/when-shell-scripts-meets- ...READ MORE

Oct 19, 2020 in Jenkins by Kim
2,249 views
0 votes
1 answer

How to transfer files from one server to another using Jenkins?

You need configure SSH in Jenkins and ...READ MORE

Oct 27, 2020 in Jenkins by Sachin
1,881 views
0 votes
1 answer

How to create an user in Jenkins?

Hi@akhtar, You need to login to your Jenkins ...READ MORE

Dec 6, 2020 in Jenkins by MD
• 95,300 points
104 views
0 votes
1 answer

Where can I find the Jenkins artifacts?

It is being archived on the master ...READ MORE

Oct 15, 2020 in Jenkins by Kim
2,320 views
0 votes
1 answer

How to configure Jenkins to run on port 80?

Hi@akhtar, You can change the port no from ...READ MORE

Oct 25, 2020 in Jenkins by MD
• 95,300 points
1,692 views
0 votes
1 answer

How to increase the Jenkins login page timeout time?

Hi@akhtar, You can change the timeout time in ...READ MORE

Oct 24, 2020 in Jenkins by MD
• 95,300 points
1,646 views
0 votes
1 answer

What goes under jenkins configuration of JDK (JDK 11 or the latest version I'm using for selenium)

Hi@zaraaq, It just a name. You can give ...READ MORE

Nov 10, 2020 in Jenkins by MD
• 95,300 points
889 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,300 points
1,606 views
0 votes
1 answer

How to get the API Token for Jenkins?

Hi@akhtar, You can find the API key from ...READ MORE

Oct 25, 2020 in Jenkins by MD
• 95,300 points
1,435 views
0 votes
1 answer

If Job 4 fails, delete the running container on Test Server

Hi@Chris, You can use the when keyword to ...READ MORE

Nov 24, 2020 in Jenkins by MD
• 95,300 points
125 views
0 votes
1 answer

How to reset build number in jenkins?

Hi@akhtar, You can do this task with the ...READ MORE

Oct 24, 2020 in Jenkins by MD
• 95,300 points
1,205 views
0 votes
1 answer

How to deploy the war file in Tomcat Server with Jenkins pipeline job on an windows machine?

Use deploy to container plugin. Go to the ...READ MORE

Sep 30, 2020 in Jenkins by Adil Abdullah Khan
2,204 views
0 votes
1 answer

Connection error sending email, retrying once more in 10 seconds. Failed after second try sending email in jenkins.

Hi@akhtar, I think you did not configure the ...READ MORE

Oct 22, 2020 in Jenkins by MD
• 95,300 points
1,173 views
0 votes
1 answer

How to change Jenkins default view?

Hi@akhtar, To change the default view in Jenkins you ...READ MORE

Oct 24, 2020 in Jenkins by MD
• 95,300 points
1,075 views
0 votes
1 answer

How to Rename a job in jenkins?

Hi@akhtar, You can rename your Jenkins Job from ...READ MORE

Oct 27, 2020 in Jenkins by MD
• 95,300 points
943 views
0 votes
1 answer

How to give approval in declarative Jenkins pipeline?

Here's the steps for manual approval in ...READ MORE

Sep 23, 2020 in Jenkins by Adil
2,359 views
0 votes
1 answer

How to remove a user from Jenkins?

Hi@akhtar, You can remove or replace the user ...READ MORE

Oct 25, 2020 in Jenkins by MD
• 95,300 points
973 views
0 votes
1 answer

How to update Jenkins from a war file?

Hi@akhtar, You need to replace the Jenkins.war file. ...READ MORE

Oct 25, 2020 in Jenkins by MD
• 95,300 points
890 views