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
• 57,940 points
76,490 views
+2 votes
11 answers

Set environment variables in Jenkins

You can try something like this stages { ...READ MORE

Dec 10, 2018 in Jenkins by Celia
69,780 views
+2 votes
1 answer

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
• 57,940 points
44,669 views
+4 votes
1 answer

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
• 900 points
27,251 views
+2 votes
1 answer

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
• 57,940 points

edited May 28, 2019 by Sirajul 31,097 views
+3 votes
2 answers

How to trigger a Jenkins pipeline A in another Jenkins pipeline B?

If you are talking about executing another ...READ MORE

Jul 31, 2019 in Jenkins by Sirajul
• 57,940 points
29,219 views
0 votes
1 answer

Can anyone share how do we integrate the Cobertura code coverage tool to Jenkins?

Hi, You need to install plugins for that. ...READ MORE

4 days ago in Jenkins by MD
• 57,300 points
12 views
0 votes
1 answer

How to give approval in declarative Jenkins pipeline?

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

6 days ago in Jenkins by Adil
21 views
0 votes
1 answer

Can anyone help me with integrating my Jenkins(running in the local machine)with a Github project?

You can do the config in the ...READ MORE

Sep 21 in Jenkins by Karthish Krishna
19 views
0 votes
1 answer

How to setup which trigger email notification to email id's in Jenkins pipeline script at every stage?

Hi@Shashi, You need to install some plugins in ...READ MORE

Sep 18 in Jenkins by MD
• 57,300 points
34 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 in Jenkins by Kim
55 views
0 votes
1 answer

How to add maven goals in Jenkins declarative script?

Have you tries ssh-add? Add maven in global ...READ MORE

Sep 17 in Jenkins by Jai
14 views
0 votes
1 answer

Not able to Lunch agent with help of both wat lunc agaent and command line.

Hi@Manoranjan, You need to click on the launch ...READ MORE

Sep 14 in Jenkins by MD
• 57,300 points
25 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 in Jenkins by MD
• 57,300 points
4,011 views
0 votes
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 in Jenkins by MD
• 57,300 points
2,504 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 in Jenkins by Gitika
• 37,660 points
143 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 in Jenkins by MD
• 57,300 points
2,467 views
0 votes
1 answer

How to use existing Azure VM in Jenkins Azure VM plugin

In order to use the Azure VM ...READ MORE

Jul 27 in Jenkins by Karan
• 16,330 points
110 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
• 57,940 points
19,031 views
0 votes
1 answer

i could not access jenkins from slave machine

Hi Rham, I don't think this is a ...READ MORE

Jul 20 in Jenkins by MD
• 57,300 points
75 views
0 votes
1 answer

run a pipeline in a jenkins docker-agent by jenkins slave

Hi@nemer, You can do your task in multiple ...READ MORE

Jul 7 in Jenkins by MD
• 57,300 points
564 views
0 votes
1 answer

ERROR: anonymous is missing the Overall/Read permission

Hi@akhtar, You need to tell your username password. ...READ MORE

Jul 7 in Jenkins by MD
• 57,300 points
318 views
0 votes
0 answers

Doubt Regarding Jenkins Shared Libraries

Hello All, I have doubt.The way we declare ...READ MORE

Jul 13 in Jenkins by omkarnik
• 120 points
61 views
+1 vote
1 answer
0 votes
1 answer

How to trigger a build on commit to branch in declarative pipeline

Hi@Madhura, You can use triggers keyword in your ...READ MORE

Jul 9 in Jenkins by MD
• 57,300 points
128 views
0 votes
1 answer

Install Jenkins Plugin from Jenkins CLI.

Hi@akhtar, You need to tell your Plugin name ...READ MORE

Jul 7 in Jenkins by MD
• 57,300 points
117 views
0 votes
1 answer

How to list down all Plugins in Jenkins from CLI?

Hi@akhtar, You need to download the jenkins-cli.jar file ...READ MORE

Jul 7 in Jenkins by MD
• 57,300 points
115 views
0 votes
1 answer

How to create one Job in Jenkins from CLI?

Hi@akhtar, You need to download the jenkins-cli.jar file ...READ MORE

Jul 6 in Jenkins by MD
• 57,300 points
124 views
0 votes
1 answer

How to create a Jenkins Pipeline?

Hi@akhtar, To create a basic Pipeline through Jenkins ...READ MORE

Jul 7 in Jenkins by MD
• 57,300 points
60 views
0 votes
1 answer

How to build one Job from Jenkins CLI?

Hi@akhtar, To build a job from Jenkins CLI, ...READ MORE

Jul 6 in Jenkins by MD
• 57,300 points
56 views
0 votes
1 answer

How to use Jenkins CLI in Windows system?

Hi@akhtar, You need to install Java in your ...READ MORE

Jul 6 in Jenkins by MD
• 57,300 points
45 views
+2 votes
6 answers

Is it possible to shift or move jobs between two jenkins servers?

Job import plugin can be used to ...READ MORE

Jun 24 in Jenkins by Vinoth
15,894 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 in Jenkins by MD
• 57,300 points
1,650 views
0 votes
1 answer

is there a way how to finish in-progress slave builds if Jenkins master goes offline

Hi@, You can assign your Jenkins Job to ...READ MORE

Jun 30 in Jenkins by MD
• 57,300 points
180 views
+1 vote
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
25,020 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
24,181 views
0 votes
1 answer
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
• 57,940 points
15,180 views
0 votes
1 answer
0 votes
1 answer

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

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

Jun 4 in Jenkins by MD
• 57,300 points
1,004 views
0 votes
1 answer

java.net.UnknownHostException: updates.jenkins.io

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

May 28 in Jenkins by MD
• 57,300 points
1,212 views
0 votes
1 answer

Access Error: 404 -- Not Found in jenkins.

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

Jun 16 in Jenkins by MD
• 57,300 points
351 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 in Jenkins by akhtar
• 25,310 points
908 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 in Jenkins by MD
• 57,300 points
1,393 views
0 votes
1 answer

Unable to retrieve list of containers available on DockerCloud [name=docker, dockerURI=tcp://192.168.99.102:4243]

Hi@akhtar, Jenkins will connect to docker server via ...READ MORE

Jun 4 in Jenkins by MD
• 57,300 points
139 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 in Jenkins by MD
• 57,300 points
1,239 views
0 votes
1 answer
0 votes
1 answer

Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: Connection closed before acknowledgement sent

Hi@akhtar, This type of error may occur because ...READ MORE

May 29 in Jenkins by MD
• 57,300 points
366 views