Trending questions in Jenkins

+1 vote
10 answers

Set environment variables in Jenkins

You can use the EnvInject plugin. This ...READ MORE

Aug 13, 2018 in Jenkins by Kalgi
• 51,810 points
38,594 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
• 48,770 points
20,895 views
+1 vote
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
• 48,770 points
16,445 views
+3 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
• 860 points
6,450 views
0 votes
1 answer

How to give permissions to jenkins user for a particular file?

Hi@akhtar, To give permissions to jenkins user, you ...READ MORE

4 days ago in Jenkins by MD
• 2,870 points
24 views
0 votes
1 answer

In Jenkins, actual build period time 30 mins. How to reduce the time 20 min??

If you are looking for allocating build ...READ MORE

Feb 11 in Jenkins by Sirajul
• 48,770 points
145 views
0 votes
1 answer

How to integrate bitbucket with Jenkins ?

You need to use the Bitbucket plugin ...READ MORE

Feb 11 in Jenkins by anonymous
• 48,770 points
30 views
0 votes
1 answer
0 votes
1 answer

[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/var/lib/jenkins/workspace/PipeLine).

issue with accessing POM file through Jenkins, ...READ MORE

Feb 6 in Jenkins by anonymous
• 48,770 points
69 views
0 votes
1 answer

Can we invoke ant file for pipeline in jenkins using a Jenkinsfile?

Yes, you can do it. You need to ...READ MORE

Feb 6 in Jenkins by Sirajul
• 48,770 points
42 views
0 votes
1 answer

How to install jenkins in Redhat/CentOS?

Hi@akhtar, To install Jenkins in centOS/Redhat, you can ...READ MORE

Feb 6 in Jenkins by MD
• 2,870 points
26 views
0 votes
1 answer

/tmp/jenkins6403305246799294208.sh: line 2: cd: /root: Permission denied

Hi@akhtar, You are getting permission denied because you ...READ MORE

Feb 6 in Jenkins by MD
• 2,870 points
26 views
+1 vote
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
• 48,770 points

edited May 28, 2019 by Sirajul 8,356 views
+3 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
880 views
0 votes
0 answers

jenkins pipeline script deploy error

C:\Program Files (x86)\Jenkins\workspace\app>del "C:\Program Files\Apache Software Foundation\Tomcat ...READ MORE

Nov 28, 2019 in Jenkins by Rajendra
• 470 points
308 views
+1 vote
1 answer

How to configure SCM Plastic Maven Project in Jenkins?

Hey @Anoop, In order to create a ...READ MORE

Nov 19, 2019 in Jenkins by Sirajul
• 48,770 points
144 views
0 votes
1 answer
+2 votes
1 answer

In Jenkins while creating node when we select option 'launch agent by Connecting it to the master' what should be launch command?

The command looks something like this:  java -jar ...READ MORE

Nov 4, 2019 in Jenkins by Sirajul
• 48,770 points
145 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
14,451 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
• 48,770 points
4,835 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
• 48,770 points
7,327 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
• 48,770 points
438 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
12,963 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
• 48,770 points
2,583 views
0 votes
1 answer

How is a Jenkinsfile structured? What is its role?

For defining a Pipeline in SCM, a ...READ MORE

Oct 11, 2019 in Jenkins by Sirajul
• 48,770 points
102 views
0 votes
1 answer

Different ways of scheduling a build in jenkins.

Here are the ways in which you ...READ MORE

Oct 11, 2019 in Jenkins by Sirajul
• 48,770 points
73 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
• 48,770 points
5,631 views
0 votes
1 answer

How can a jenkins slave node be configured to communicate with the jenkins master?

There are two ways we can start ...READ MORE

Aug 30, 2019 in Jenkins by Sirajul
• 48,770 points
1,487 views
+2 votes
2 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
• 9,940 points
10,922 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 2,163 views
0 votes
1 answer

How do you implement CI/CD using Jenkins?

Continuous Integration using Jenkins and Git plugin Create ...READ MORE

Aug 30, 2019 in Jenkins by Sirajul
• 48,770 points
418 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
• 360 points
154 views
0 votes
1 answer

Getting below error on Jenkins while creating a Maven Build Job

When you are using ssh to connect, ...READ MORE

Sep 3, 2019 in Jenkins by Hari
102 views
0 votes
1 answer

Jenkins and Docker: How can I customize my jenkins pipeline to use docker?

Jenkins Pipeline is designed to easily use ...READ MORE

Aug 26, 2019 in Jenkins by Sirajul
• 48,770 points
366 views
0 votes
1 answer

Run Jenkins on Private VPC?

If you want to place the instance ...READ MORE

Aug 30, 2019 in Jenkins by Tara
150 views
+2 votes
0 answers

I'm facing the issue while connecting from pipeline script to svn (scm) checkout

Running in Durability level: MAX_SURVIVABILITY [Pipeline] Start of ...READ MORE

Aug 26, 2019 in Jenkins by sk
264 views
0 votes
1 answer

How to configure and use third party tools in jenkins?

The procedure to utilize a third party ...READ MORE

Aug 27, 2019 in Jenkins by Sirajul
• 48,770 points
220 views
0 votes
1 answer

Mention some post conditions pipeline options that are used in a jenkinsfile.

We can mention some test conditions to ...READ MORE

Aug 28, 2019 in Jenkins by Sirajul
• 48,770 points
140 views
0 votes
1 answer

Secure Jenkins with AWS

Make use of the security groups and ...READ MORE

Aug 30, 2019 in Jenkins by Payal
53 views
0 votes
1 answer

What is groovy in jenkins?

Groovy is the default scripting language that ...READ MORE

Aug 27, 2019 in Jenkins by Sirajul
• 48,770 points
153 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

Jul 31, 2019 in Jenkins by Vijay
1,203 views
0 votes
1 answer

What is Blue Ocean in jenkins?

Blue Ocean is a project that redefines/rethinks ...READ MORE

Aug 26, 2019 in Jenkins by Sirajul
• 48,770 points
67 views
0 votes
1 answer

Error saying "error: dpkg frontend is locked by another process"

Hey! First, find out the id of the ...READ MORE

Apr 15, 2019 in Jenkins by Vedant
5,438 views
+1 vote
3 answers

"No such file pom.xml" error in Jenkins

Can you please che ck the location ...READ MORE

May 15, 2019 in Jenkins by Samir
2,210 views
0 votes
1 answer

Install GIT and Maven inside a Docker Container and access them to build a job with Maven from a GIT repository

Create a Dockerfile and add the commands ...READ MORE

Apr 15, 2019 in Jenkins by Nishu
5,190 views
0 votes
1 answer

How do you configure automatic build in jenkins?

Works in Jenkins can be activated intermittently ...READ MORE

Aug 6, 2019 in Jenkins by Sirajul
• 48,770 points
268 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
10,329 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
• 48,770 points
1,757 views
+1 vote
1 answer

How to run a job in Jekins by a different user ?

To run a job by a specific ...READ MORE

Jun 17, 2019 in Jenkins by Neel
• 3,010 points
2,276 views