Questions tagged [jenkins]

Jenkins is an open-source continuous integration server with 300+ plugins to support all kinds of software development.

Filter by
Sorted by
Tagged with
0 votes
0 answers
149 views

How to deal: external Jenkins port does not work

I have jenkins service working fine on internal and local levels (I can just open localhost:8080 or 192.168.x.x:8080 in the browser and it gives me Jenkins "sign in" page) But I have ...
SageCat's user avatar
  • 101
0 votes
0 answers
144 views

Error in Installing Jenkins

I was installing Jenkins and run the following command, I got following error- utsav@utsav-HP-Laptop-14s-cr2xxx:~$ wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - ...
Utsav's user avatar
  • 13
1 vote
0 answers
695 views

How to solve cmake "Could NOT find Threads" issue on Jenkins

I'm trying to create a Jenkins job that need to build a project with CMake, but keep getting an error Could NOT find Threads (missing: Threads_FOUND) I've installed both libpthread-stubs0-dev and ...
JaSON's user avatar
  • 123
0 votes
1 answer
210 views

How to make permanent changes to /etc/sudoers

I'm trying to setup a Jenkins job that need to run an executable file under sudo I do sudo nano /etc/sudoers add jenkins ALL=(ALL) NOPASSWD:ALL at the end of file CTRL + X and confirm file save ...
JaSON's user avatar
  • 123
0 votes
0 answers
407 views

Cannot Start Jenkins on Ubuntu 20.04

I had an old Jenkins running from the packages, and wanted to update to the latest version. According to https://www.digitalocean.com/community/tutorials/how-to-install-jenkins-on-ubuntu-20-04, I ...
David Georg Reichelt's user avatar
0 votes
0 answers
36 views

when i am tried install git in ubuntu terminal getting malformed error [duplicate]

: Malformed entry 1 in list file /etc/apt/sources.list.d/archive_uri-https_apt_releases_hashicorp_comjammy-jammy.list (Component) E: The list of sources could not be read. when i am try to install ...
sandesh M.U's user avatar
1 vote
0 answers
780 views

I am facing issue while configuring GitHub ssh key to Jenkins server for ci?

I am facing an issue while configuring SSH Key to Jenkins for GitHub to Jenkins CI. I created an SSH key using this CMD inside of the .ssh directory ssh-keygen I copied the private key and pasted it ...
Abbas J's user avatar
  • 11
0 votes
0 answers
114 views

Simple python script to build in Jenkins using ubuntu 22.04.2

I have created a simple python file project.py on my desktop in ubuntu 22.04.2 I tried to build a simple free project on Jenkins and in the execution shell I wrote the location of the python file then ...
Rising Sun's user avatar
0 votes
0 answers
75 views

Jenkins build failure for python script in github using ubuntu version 22.04.2 LTS

I created a simple python code in my github repo with the following: import numpy as np import matplotlib as plt a=np.arange(1,5).reshape(4,1) print(a) print(a.data) print(a**2) print(a.dtype) I ...
Rising Sun's user avatar
0 votes
0 answers
7 views

I am unable to get the path where the push are stored in the Jenkin

I have setup Jenkin application on Ubuntu Server 20.04 and integrated it with GITHub (Screate key). I can successfully build the project, but I want to check the path of the files where it is stored ...
Niranjaysingh Rajput's user avatar
2 votes
1 answer
7k views

Installing Jenkins, Service fails with result "timeout"

I am trying to install jenkins on my raspberry pi running Ubuntu Server 22.04. I am following the directions from Digital Ocean but I am getting a timeout error when installing Jenkins > apt ...
Danny's user avatar
  • 31
4 votes
2 answers
28k views

stderr: No ECDSA host key is known for github.com and you have requested strict checking

[enter image description here] 1Failed to connect to repository : Command "git ls-remote -h -- [email protected]:yeni/jenkins-terraform.git HEAD" returned status code 128: stdout: stderr: No ...
user2631106's user avatar
0 votes
0 answers
1k views

How to solve Jenkins npm command not found error?

I'm trying to run a vue project on jenkins.I have installed nodejs on my server.But I got an error below: SSH: Connecting from host [manager.cweap.eap] SSH: Connecting with configuration [10.168.1.222]...
yaoyao's user avatar
  • 1
0 votes
0 answers
187 views

Port 8090 seems closed even though it's open

I installed Jenkins on port 8090, tried disabling ufw and doing ufw allow 8090. yougetsignal.com is still showing that port as closed, and trying to open the jenkins webapp results in a timeout error. ...
Batimonster's user avatar
0 votes
1 answer
2k views

How to pass json parameters for Jenkins using CURL?

I'm trying to build a job by passing JSON parameter for Jenkins through Linux CLI. But I'm not able to pass the parameters in JSON. I have used -g to turn off globbing. Still the issue persists. Any ...
Deepakvg's user avatar
3 votes
2 answers
6k views

Changed Jenkins port doesn't applied

I have Ubuntu 20.04 and Jenkins 1.3.3 I need to change the local Jenkins port from 8080 to 8888. I tried to change the config file sudo gedit /etc/default/jenkins in the string #port for HTTP ...
Igor-Potapov's user avatar
0 votes
1 answer
2k views

EOF: command not found in Jenkins Pipeline

I'm trying to launch Datadog agent in Jenkins pipeline, but I'm getting below errors: line 7: warning: here-document at line 2 delimited by end-of-file (wanted `EOF'). EOF: Command not found Error. ...
Deepakvg's user avatar
0 votes
1 answer
5k views

jenkins.service: Failed with result 'exit-code'

I'm trying to install Jenkins using this tutorial: https://phoenixnap.com/kb/install-jenkins-ubuntu but I get: root@server:~# sudo apt install jenkins Reading package lists... Done Building dependency ...
Peter Penzov's user avatar
0 votes
0 answers
40 views

Trying to upgrade but getting certificate error due to Jenkins [duplicate]

I am upgrading an old 16.04 LTS machine (yes, I know I'm stupid for waiting this long when it is EOL) It seems to be a problem with Jenkins and/or its repositories sudo apt-get update gives me: Err:...
Gern B's user avatar
  • 31
0 votes
1 answer
205 views

Jenkins returns 403 when monit tries to access

jenkins is running on port 8085 and accessible via browser. Monit always gets 403 when trying to access. Remote Host 'jenkins' status Connection failed monitoring status ...
user avatar
0 votes
2 answers
6k views

problem in installing Jenkins: Sub-process /usr/bin/dpkg

when i try to install Debian-stable version of Jenkins in Ubuntu : Errors were encountered while processing: jenkins E: Sub-process /usr/bin/dpkg returned an error code (1) i do this instructions and ...
PersianMan's user avatar
0 votes
1 answer
1k views

Trying to install/startup Jenkins in Ubuntu Server - hudson.util.AWTProblem

I am trying to install/startup Jenkins (2.303) in Ubuntu, but now for Server (for Desktop there is no problem) JAVA_HOME and JENKINS_HOME environment variables defined on the .profile file About Java ...
Manuel Jordan's user avatar
-1 votes
1 answer
2k views

Jenkins sudo password

I have install jenkins in ubuntu OS. when i build a project and run some executable shell script then it doen't access the file. how to add sudo password in shell script.
kartik jain's user avatar
1 vote
0 answers
5k views

How to uninstall Jenkins war packages completely from list

Long back I have installed Jenkins and later uninstalled also, now I am tring to reinstalling it but could not login localhost:8080 and also even though I have uninstalled Jenkins still I could see ...
odesha v's user avatar
0 votes
0 answers
2k views

Jenkins: sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

While studying Jenkins tool, I am trying to execute a simple command on my private Ubunto machine, and I get the error message in subject. So far, all my attempts failed: sudo -S ps -ef | grep ...
dushkin's user avatar
  • 141
0 votes
0 answers
347 views

Jenkins apt upgrade error /etc/default/jenkins: --httpListenAddress=127.0.0.1: not found

I have Jenkins runnind on Ubuntu 20.04. Jenkins has config file /etc/default/jenkins which contains directive --httpListenAddress=127.0.0.1 which according documentation set Jenkins to listen only on ...
Čamo's user avatar
  • 729
0 votes
1 answer
1k views

Ubuntu 20.04 + Jenkins - access denied and directory does not exists

I have VSP with Ubuntu 20.04 and Jenkins installed on it. Also have a Java Maven test project which should run as Jenkins job. Few hours ago everything worked well. Then I added one new feature to the ...
Čamo's user avatar
  • 729
0 votes
0 answers
87 views

How to create ubuntu server in ubuntu 18.04 operting system?

I want to install the docker for learning purposes.But most tutorials mention that we have to use the Ubuntu server for that.Currently I am using the Ubuntu 18.04 OS.How can I create the Ubuntu server ...
Mihiran Chathuranga's user avatar
1 vote
0 answers
55 views

Ubuntu user access rights for Jenkins

I have Two users on Ubuntu setup user : kmb and user : dev where user kmb has installation of Qt, Qt for webassembly and Jenkins server also where as dev has nothing installed in it so when i login to ...
Kallappa Bachagundi's user avatar
0 votes
1 answer
3k views

Jenkins installation failing

Can someone help me with Jenkin installation on Ubuntu I am getting following log Reading package lists... Done Building dependency tree Reading state information... Done jenkins is already ...
Kuldeep Yadav's user avatar
0 votes
3 answers
5k views

Trying to install Jenkins on Ubuntu 18.04

@Kulfy As advised tried installing the key in source list, got following error: ~$ wget -q -o pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add - wget: pkg.jenkins.io/debian/jenkins-ci.org....
paymechs's user avatar
0 votes
1 answer
952 views

How to Execute Build command in jenkins(Ubuntu)

I need to integrate a simple selenium script with Jenkins. Can someone please help me to get a shell script code to update in the build section. Currently, I am tried with run.bat file which returns ...
Sree's user avatar
  • 1
5 votes
1 answer
11k views

Bash script if condition not working when called from Jenkins Pipeline

The below is my Jenkins Pipeline stage stage ('Import') { steps { sshagent([sshCredentials]) { sh ''' #!/bin/bash ...
yeswanth's user avatar
  • 117
2 votes
1 answer
5k views

How to configure Java for Jenkins on Ubuntu

I have a VM with Ubuntu 18.04 with JDK 12 as default java in it. I want to setup a Jenkins server on it and as it do not support JDK 12 yet, i have installed JRE 8 in it to support Jenkins. How to ...
Psp360's user avatar
  • 31
1 vote
1 answer
3k views

How to enable a logrotation with Jenkins

I need to enable the logrotate service with Jenkins in order to rotate its log files (/var/log/jenkins/jenkins.log). So, I configured a script in /etc/logrotate.d with right permissions: /var/log/...
roghan's user avatar
  • 29
9 votes
4 answers
20k views

Jenkins error "Incorrect Java version" for Java11. After removing Java11 and installing Java8. java is not found anywhere

I tried to install latest stable Jenkins version which supports Java 11. So after installing Java 11(JDK) I got the error from Jenkins that incorrect java version was found. So uninstalled the Java ...
user7501425's user avatar
1 vote
0 answers
191 views

Is it safe to permit using sudo to application-created users?

I have a jenkins setup on my server that has automatically created the jenkins user, which is used for its os-operations. However, I need Jenkins to stop and start a service (via systemctl) after a ...
Impulse The Fox's user avatar
1 vote
1 answer
2k views

password for jenkins: jenkins is not in the sudoers file. This incident will be reported

I have added jenkins as a sudo user in my build node: $ sudo usermod -aG sudo jenkins This also works on the build node. However, in my build log there is: [sudo] password for jenkins: jenkins is ...
juzzlin's user avatar
  • 1,213
1 vote
0 answers
1k views

Jenkins Docker container rights/owner needed to access the jenkins-home

So, I have followed this tutorial to migrate my already configured Jenkins inside a Docker container, this works quite well. At the end of the tutorial, I launched the command: sudo chmod -R 777 ~/...
Calaom's user avatar
  • 111
3 votes
2 answers
12k views

Jenkins list user ids using script console

I want to list all users in jenkins, via the console script that jenkins has. So far I managed to list all the users using this: import hudson.model.User User.getAll().each { user -> ...
Caranfil Alegzandru's user avatar
1 vote
1 answer
8k views

Edit the /etc/sudoers file to provide permission to Jenkins

I need to edit the /etc/sudoers file using the command: sudo gedit /etc/sudoers and add the below: jenkins ALL=(ALL) NOPASSWD: ALL Post adding and trying to save I am getting the error: (...
Sanjay Mahajan's user avatar
0 votes
1 answer
707 views

Failed to execute child process /snap/bin/jenkins (No such file or directory)

I was trying to install Jenkins from the Ubuntu software , While I click on launch button getting the below error. Error : There was an error creating the child process for this terminal. Failed to ...
Rajasekhar's user avatar
0 votes
3 answers
9k views

Installing jenkins plugins automatically

I'm writing a script to download jenkins war, skip setup, then install plugins for it. I downloaded batch-install-jenkins-plugins.sh using some link, and also created the plugins.txt file as mentioned....
Hithesh Veer's user avatar
1 vote
1 answer
5k views

How to fix not signed repos which worked before?

on an Ubuntu 16.04 server I get the following messages when running sudo apt-get update: E: The repository 'http://dl.google.com/linux/chrome/deb stable Release' is no longer signed. N: Updating ...
user avatar
1 vote
1 answer
1k views

Angular CLI & Jenkins continous integration permissions

I'm using jenkins for a continuous integration with angular cli, here are my steps : Push to github Jenkins pull the code from my github repository, do npm install and ng build Everything is fine ...
andy200486's user avatar
0 votes
1 answer
3k views

Find and Grep working properly via prompt but not via Jenkins

I´m trying to filter some files using find and grep via the command below: find . -type f -exec grep -q --exclude=*.{cpp,gradle,java,ttf,txt,xml,md} . {} \; -and -print The funny thing is: via ...
Marcelo Idemax's user avatar
0 votes
0 answers
724 views

How can I find out where chef server is installed in my Ubuntu system?

I have installed chef server but I am unable to find the path to it. Where is it installed, or how can I find out where it is installed?
Biswajeet Behera's user avatar
2 votes
1 answer
3k views

Jenkins as root cannot create folder

I have a Jenkins instance running that should build an Android project. When I start the task, I receive the following exception: Could not create service of type ScriptPluginFactory using ...
fweigl's user avatar
  • 384
0 votes
1 answer
155 views

Ubuntu Jenkins appends windows paths when build

I'm trying to build my asp.net core application using Jenkins which is hosted with Tomcat8 on an Ubuntu 16.04 machine. The first build succeeds but when starting builds after that they fail (without ...
MetalJacketNL's user avatar
0 votes
1 answer
1k views

Configuring GitLab and Jenkins on different URLs

I'm a newbie at configuring servers and networks and I just recently installed Ubuntu Server on an old laptop to work on. The server currently has Jenkins, GitLab and Apache2 installed. I can ...
E. Vidal's user avatar