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,230 points
146,563 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,706 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
120,514 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 113,097 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
109,500 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,857 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
79,576 views
0 votes
2 answers

How do i move jenkins from one server to another?

use job import portal in jenkins, you ...READ MORE

Jul 6, 2022 in Jenkins by anonymous

edited 3 days ago 53,238 views
0 votes
0 answers

jenkins job was not runing

pending waiting for next available executor i ...READ MORE

Jul 12, 2023 in Jenkins by anonymous

edited 4 days ago 89 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
46,248 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 7, 2020 in Jenkins by MD
• 95,460 points
37,749 views
0 votes
0 answers

Not able to connect remote host via jenkins to run ansible playbook.

Not able to connect remote host via ...READ MORE

Apr 10, 2023 in Jenkins by anonymous

edited 4 days ago 88 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
36,698 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,230 points
58,524 views
0 votes
0 answers

Yesterday Used jenkins practiced well, today while opening jenkins getting error

java.io.IOException: Permission denied at java.base/java.io.UnixFileSystem.createFileExclusively(Native Method) at java.base/java.io.File.createTempFile(File.java:2129) at hudson.util.AtomicFileWriter.<init>(AtomicFileWriter.java:143) Caused: ...READ MORE

Jan 25, 2023 in Jenkins by anonymous

edited 4 days ago 107 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,593 views
0 votes
0 answers

How can I see the changes of the code in a Jenkins scheduled job.

I have created a Jenkins job and ...READ MORE

Dec 29, 2022 in Jenkins by kompal

edited 4 days ago 90 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,751 views
0 votes
0 answers

Jenkins Need to access the same local workspace

How do I access the Jenkins-created workspace ...READ MORE

Nov 27, 2022 in Jenkins by anonymous

edited 4 days ago 111 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,986 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,460 points
31,405 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
48,404 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,634 views
0 votes
0 answers

mvn: not found script returned exit code 127

I tried many ways to resolve the ...READ MORE

Jun 11, 2022 in Jenkins by SivaPrasad

edited 4 days ago 86 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
59,135 views
0 votes
0 answers

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

java.lang.NoSuchMethodError: No such DSL method 'anyfile' found ...READ MORE

May 30, 2022 in Jenkins by venkateswarlu

edited 4 days ago 77 views
0 votes
0 answers

I can't connect to my Jenkins server by using host IP address

I completed initial setup for Jenkins in ...READ MORE

May 28, 2022 in Jenkins by Jennifer

edited 4 days ago 78 views
0 votes
0 answers

Need a report that displays users permissions for all the Jenkins projects

Need a report that displays users permissions ...READ MORE

May 2, 2022 in Jenkins by Karthick

edited 4 days ago 13 views
+1 vote
1 answer
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,460 points
23,308 views
0 votes
0 answers

I am unable to install packages on jenkins it was showing "An error occurred during installation: Forbidden"

Please let me know how to fix ...READ MORE

Dec 9, 2021 in Jenkins by anonymous
• 120 points
2,094 views
0 votes
0 answers

How to migrate jenkins from windows to linux?

Presently, we are running Jenkins in the ...READ MORE

Jan 23, 2022 in Jenkins by tharun

edited 4 days ago 14 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,888 views
0 votes
0 answers
0 votes
0 answers
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
46,250 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,460 points
14,784 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,272 views
0 votes
0 answers

Do anyone know how to setup jenkins multimaster on gcloud?

I was try to setup jenkins multimaster ...READ MORE

Sep 26, 2021 in Jenkins by Sanjay

edited 4 days ago 19 views
0 votes
1 answer

How to increase no of executors in Jenkins?

Hi@akhtar, By default Jenkins has 2 executors. But ...READ MORE

May 13, 2020 in Jenkins by MD
• 95,460 points
21,343 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,460 points
21,207 views
+1 vote
1 answer
0 votes
2 answers

How to disable or reset security settings in Jenkins?

In your local jenkins folder cat  /var/lib/jenkins/secrets/initialauthenticationpassword ...READ MORE

Feb 22, 2021 in Jenkins by srini

edited 3 days ago 21,207 views
0 votes
1 answer

JNLP agent port is disabled and agents cannot connect this way. Go to security configuration screen and change it.

Hi@MD, By default JNLP agent port is disabled ...READ MORE

May 29, 2020 in Jenkins by akhtar
• 38,260 points
19,555 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,606 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,918 views
0 votes
0 answers

Jenkins is process running, however not reachable

I am installing jenkins on ubuntu VM ...READ MORE

Jul 28, 2021 in Jenkins by Asmaa

edited 4 days ago 11 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 26, 2020 in Jenkins by MD
• 95,460 points
10,929 views
0 votes
1 answer

Unable to open Jenkins in master vm

There seems to be an issue with ...READ MORE

Dec 19, 2018 in Jenkins by Charlie

edited Dec 20, 2018 955 views
0 votes
0 answers

Jenkins, using publish HTML report plugin. Report is showing in broken lines

Trying to generate html report using publish ...READ MORE

Jun 28, 2021 in Jenkins by Shashi
• 370 points

edited 4 days ago 9 views