Most viewed questions in Jenkins

0 votes
1 answer

fatal: could not read Username for 'https://github.com': No such device or address in jenkins.

Hi@akhtar, You need to give to the jenkins ...READ MORE

Apr 3, 2020 in Jenkins by MD
• 95,440 points
15,347 views
+2 votes
1 answer
+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
13,342 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,440 points
13,276 views
+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
12,389 views
0 votes
1 answer

java.nio.file.AccessDeniedException: /root/home

Hi@akhtar, By default Jenkins home directory is set ...READ MORE

Jun 4, 2020 in Jenkins by MD
• 95,440 points
12,282 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,895 views
0 votes
1 answer

Caused: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /192.168.99.102:4243

Hi@akhtar, You may get this error if you ...READ MORE

Jun 4, 2020 in Jenkins by MD
• 95,440 points
11,408 views
0 votes
2 answers

How to use maven package jar file in another jenkins pipeline stage?

You can use the same dockerfile for ...READ MORE

Aug 2, 2018 in Jenkins by lina
• 8,220 points
11,348 views
0 votes
1 answer

How to change admin password in jenkins?

Hi@akhtar, To change your admin password, you have to ...READ MORE

May 9, 2020 in Jenkins by MD
• 95,440 points
10,941 views
0 votes
1 answer

java.net.UnknownHostException: updates.jenkins.io

Hi@akhtar, You may get this error, if your ...READ MORE

May 28, 2020 in Jenkins by MD
• 95,440 points
10,522 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,447 views
0 votes
2 answers

Error Jenkins: Failed to connect to repository

Jenkins runs as another user, not as ...READ MORE

Aug 7, 2019 in Jenkins by Sirajul
• 59,230 points
10,359 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,440 points
10,252 views
0 votes
1 answer

Jenkins Pipeline Wipe Out Workspace

You should probably put it in a post-built-step ...READ MORE

Aug 6, 2018 in Jenkins by Kalgi
• 52,360 points
9,767 views
0 votes
1 answer

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

set "host_key_checking = False" in /etc/ansible/ansible.cfg READ MORE

Dec 2, 2019 in Jenkins by pavan

reshown Dec 2, 2019 by Vardhan 9,764 views
0 votes
1 answer

How to give sudo power to the Jenkins user?

Hi@akhtar, You need to give Sudo power to ...READ MORE

Oct 26, 2020 in Jenkins by MD
• 95,440 points
9,682 views
0 votes
1 answer

Jenkins- Build Date in Jenkins Email

Install the zentimestamp plugin. This plugin exports a BUILD_TIMESTAMP variable. ...READ MORE

Nov 14, 2018 in Jenkins by Kalgi
• 52,360 points
9,422 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,226 views
0 votes
1 answer

Empty Jenkins Workspace causing Jenkins build failure

/tmp/hudson3579240812233061648.sh: line 3: cd: /jenkins/workspace/completeness_compiler_runtime_tests/TPS/qel/automation/tools The error is ...READ MORE

Aug 8, 2018 in Jenkins by Kalgi
• 52,360 points
9,119 views
0 votes
1 answer

How do I know who has performed a particular operation in jenkins?

You can keep a log of who ...READ MORE

May 30, 2019 in Jenkins by Sirajul
• 59,230 points
8,757 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,620 views
0 votes
2 answers

Error when trying to start puppet service

first where the puppetserver is installed i.e.., ...READ MORE

Mar 28, 2019 in Jenkins by Mallikarjuna
• 140 points
8,569 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
8,297 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
8,286 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
8,281 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,260 views
0 votes
1 answer

How to fix a broken build for my project in jenkins?

The user needs to open the console ...READ MORE

Oct 11, 2019 in Jenkins by Sirajul
• 59,230 points
8,254 views
0 votes
1 answer

Error while trying to execute a maven project

Follow these steps: In global tool configuration: For Maven: ...READ MORE

Jan 3, 2019 in Jenkins by Vishnu
8,229 views
0 votes
1 answer

Set a Jenkins environment variable based on a job parameter

So if you give choice parameter the ...READ MORE

Aug 14, 2018 in Jenkins by Kalgi
• 52,360 points
8,228 views
0 votes
2 answers

where to set the context path - jenkins

Put this into /etc/apache2/other/jenkins.conf: ProxyPass ...READ MORE

Aug 10, 2018 in Jenkins by Nilesh
• 7,050 points
8,157 views
0 votes
2 answers

How can I list all the `env` properties within a Jenkins pipeline?

Here's a quick script you can add ...READ MORE

Aug 8, 2019 in Jenkins by Sirajul
• 59,230 points
8,024 views
+1 vote
1 answer

Unable to access Jenkins. I newly installed Jenkins but for some reason I cannot access it.

Try changing the port, Change JENKINS_AJP_PORT="xyz" to JENKINS_AJP_PORT="abc" If changing the ...READ MORE

Jul 4, 2018 in Jenkins by Sophie may
• 10,610 points
7,994 views
0 votes
1 answer

How to merge two branch in GitHub using jenkins?

Hi@akhtar, To implement this task you can follow ...READ MORE

May 7, 2020 in Jenkins by MD
• 95,440 points
7,993 views
0 votes
1 answer

HTML in job descriptions on jenkins

Follow these steps: Step 1- go to manage ...READ MORE

Aug 7, 2018 in Jenkins by Nilesh
• 7,050 points
7,898 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 26, 2020 in Jenkins by MD
• 95,440 points
7,839 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,791 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 26, 2020 in Jenkins by MD
• 95,440 points
7,712 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 25, 2020 in Jenkins by MD
• 95,440 points
7,537 views
0 votes
1 answer

How to change Jenkins default view?

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

Oct 25, 2020 in Jenkins by MD
• 95,440 points
7,520 views
0 votes
2 answers
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,405 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
7,365 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 26, 2020 in Jenkins by MD
• 95,440 points
7,351 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
7,199 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
7,199 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,440 points
7,198 views
0 votes
1 answer

Error saying "Failed to resolve host name updates.jenkins.io. Perhaps you need to configure HTTP proxy?"

I had the same error. I was connected ...READ MORE

Dec 18, 2018 in Jenkins by Arohi
7,160 views