Skip to main content

Questions tagged [jenkins]

Jenkins is an extendable open source continuous integration server

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 views

Is it possible to use a Docker container as a build node without using the Jenkins agent?

I am trying to use an RHEL 5 Docker container to run Jenkins jobs, but RHEL 5 does not support anything more recent than Java 8. Is there a way to run a Jenkins job in this container without using the ...
Juan Jimenez's user avatar
0 votes
0 answers
57 views

Docker inside Jenkins Container running in EKS

I'm running a jenkins container in EKS and everything is working fine except when one of the pipelines has to build docker images. I've installed docker cli on my image but when i shell into the ...
user2051904's user avatar
0 votes
1 answer
257 views

Jenkins Multiple Agent and Git

I have been using Jenkins for many years, but I have never needed more than one agent for my tasks. Just recently, I found the need to add another agent, which is not Linux but Windows. Now, this node ...
Yousuf's user avatar
  • 35
0 votes
0 answers
79 views

Multibranch pipelines not working if it's created by job DSL

i have a job DSL job script that creates folders for each pipeline and inside each folder it creates the relative multibranch pipeline. after suffering a bit with syntax I managed to to create that ...
Mohammed Ehab's user avatar
0 votes
1 answer
176 views

Jenkins credentials not showing when creating docker cloud in jenkins nodes, how to fix that?

This is docker cluod options in Node section of jenkins. the secret is in jenkins --> system --> global credentails runrestricted I add credentails already. But not showing in the drop down.
Mysterio's user avatar
0 votes
1 answer
137 views

Failing to authenticate with GHCR after kubernetes upgrade to 1.24

I’ve upgraded my AWS EKS to 1.24, and since then authentication with github docker registry fails. I’m running the following Ansible task in Jenkins: - name: Login to github docker registry ...
Supertwister's user avatar
0 votes
1 answer
46 views

Jenkins / Docker scanning for docker port on multiple IP's

I've had a message from my host provider explaining that my server has been scanning other IP's belonging to them (the host provider, not my servers). The data they sent is this (and more for about a ...
webnoob's user avatar
  • 465
1 vote
1 answer
171 views

Can a Docker container run as a Jenkins build node with both Java 11 and Java 8?

I have a customer who is excited about the idea of Docker containers as Jenkins build nodes, but a few of their pipelines still have dependencies on Java 8. Can a Docker container have Java 11 and ...
Juan Jimenez's user avatar
1 vote
0 answers
24 views

Dynamically Update Ips of AWS Autoscaling instances in Jenkins SSH Global configuration

We have few autoscaling groups in AWS and new instances are created frequently. We are using a declarative Jenkins pipeline to publish the build artifacts to those server using publish over ssh plugin ...
S_H's user avatar
  • 11
1 vote
1 answer
57 views

Jenkins InfluxDB plugin connected to VictoriaMetrics

Does anyone know if there is possibility to send custom metrics to VictoriaMetrics server via InfluxDB plugin from Jenkins? In documentation it is mentioned that VictoriaMetrics supports Influx line ...
aFku's user avatar
  • 15
0 votes
0 answers
186 views

Groovy script on Jenkins doesn't see BUILD_NUMBER variable

I have Jenkins on my local computer and I am trying to make my project work on it. Recently it worked on another jenkins server and I want to make it work just like back then without changes. When I ...
Georgiy List'ev's user avatar
0 votes
1 answer
217 views

k8smaster server works like a worker

I deploy my Spring projects to Kubernetes with Jenkins. I have k8smaster and 3 worker servers. It sometimes writes .m2 files under the k8smaster server. How can I prevent this? So I want it to write ...
kernel's user avatar
  • 101
0 votes
0 answers
52 views

_curses.error: cbreak() returned ERR when running jenkins

I'm running pg_activity through a bash script to simulate that pg_activity that can launch correctly without any issues. Below is my script #!/usr/bin/bash /soft/python3.7/bin/pg_activity <<...
Andy K's user avatar
  • 119
0 votes
0 answers
165 views

Issue with Laravel ECS Deployment: Access denied for user 'forge'@'10.0.20.124'

I am facing an issue with my Laravel application deployment on AWS ECS. The deployment process involves Jenkins, AWS ECR, and ECS. The new task is created, but there's an "Access Denied" ...
Spiral's user avatar
  • 101
0 votes
0 answers
162 views

Updating Certificate on Jenkins server running on Kubernetes (K3)?

I have a Jenkins server running on a K3 cluster and its certificate has expired. I have a new certificate in a PEM file my sys admin gave me. I have tried creating a new secret, example-cert-tls-...
Red Cricket's user avatar
0 votes
0 answers
67 views

Jenkins in Docker sharing docker.sock

In order to set up a Jenkins CI pipeline, I run Jenkins in a Docker container, configured to build with Docker Cloud Agents. So, I have one container that runs the Jenkins master, and n containers ...
FueledByPizza's user avatar
0 votes
0 answers
121 views

Azure DevOps with Boomi (or) Jenkins with Boomi for CI/CD automation with various stages

Are there any methods by which we can integrate Dell Boomi with Azure DevOps or Jenkins to implement CI/CD automation with various stages including unit testing and SonarQube etc? Any help with tools ...
vivan sai's user avatar
0 votes
2 answers
718 views

how to start the linux tomcat on nohup mode on jenkins

I used below command in jenkins, After execute this command, It shows that tomcat is started but tomcat is not started #!/bin/bash TOMCAT_HOME=/home/apache-tomcat nohup $TOMCAT_HOME/bin/startup.sh &...
anandarc's user avatar
0 votes
1 answer
118 views

Jenkins - Space distribution

We are running a Jenkins server with multiple nodes. After some time and more and more projects that got added to the instance, we are encountering multiple issues (that we have to few people to solve,...
Marvin S.'s user avatar
1 vote
1 answer
263 views

Why was I unable to rebuild jobs?

I have a jenkins server which jenkins was upgraded from version 2.220 to 2.387.1, all plugins have been upgraded. When I rebuilt jobs, it gave me these output: Started by user abc Running as SYSTEM ...
Budianto IP's user avatar
0 votes
0 answers
721 views

Unable to save jenkins system configuration, how to fix that?

I am running jenkins in eks cluster. Till yesterday it worked, but today when I want to change any configuration in the jenkins system configuration page, it is not saving anything and page is also ...
user2331760's user avatar
0 votes
0 answers
467 views

How to build a docker image using kuberntes agent?

Below is the configuration in kubernetes plugin I set. My jenkins pipeline. pipeline { agent { kubernetes { label 'my-docker-build' defaultContainer 'jnlp' ...
user2331760's user avatar
0 votes
0 answers
2k views

How to build a docker image from jenkins agent running on kubernetes?

I tried below pipeline code to check whether docker commands work first but failing. pipeline { agent { kubernetes { yaml """ apiVersion: v1 kind: Pod ...
user2331760's user avatar
0 votes
1 answer
46 views

How to protect Jenkins from super users?

Any super user who has access to the Jenkins running on a Linux server can easily disable security authentication from config.xml file; then log in and can also decrypt sensitive passwords from ...
user avatar
0 votes
1 answer
1k views

poetry command not found after installing it on jenkins

I'm using Jenkins to build a python package using poetry, here is the stage command to install poetry on the Jenkinsfile stage('poetry'){ steps { sh 'curl -sSL https://install.python-poetry.org |...
veey's user avatar
  • 1
0 votes
1 answer
506 views

Deploying helm chart of jenkins giving error as invalid image name, even it is correct. How to fix that?

Deploying helm chart of jenkins giving error as invalid image name, even it is correct. How to fix that? kubectl get po -n jenkins NAME READY STATUS RESTARTS AGE jenkins-0 ...
sardar's user avatar
  • 11
0 votes
0 answers
3k views

Jenkinsfile - Build only if change in a specific subdirectory, how to manage post action

Basically, we're doing trunk development here, and got tons of services under the same directory. I have a Jenkins job that is triggered through GitHub webhook, and that will do some actions only if ...
SBO's user avatar
  • 562
0 votes
1 answer
804 views

Jenkins groovy Pipline code is stop working with Docker Build steps

Jenkins was working fine after update stopped working and I roll back manually from latest version to previous and remove the plugins from Plugin Folder and install again as per the requirements: ...
abdullah-manzoor's user avatar
0 votes
0 answers
523 views

site can't be reached error while accessing jenkins

I installed jenkins on ubuntu it is successfully installed. But while i access through browser by using IP_Address:8080 it shows site can't be reached shows. i tried sudo ufw allow 8080 and sudo ufw ...
Pratiksha Hake Shedage's user avatar
0 votes
1 answer
910 views

Jenkins Plugins Error After Update - "Errors Checking Update Site"

I'm running Jenkins on a RHEL 7.9 server, with OpenJDK 11.0.17. I recently updated Jenkins to version 2.361.4 from 2.346.3. After updating I went to the plugins manager page to see what plugins ...
jrd1989's user avatar
  • 688
1 vote
1 answer
1k views

RHEL 8 - yum commands started throwing a 470 error

I am using RHEL 8 on a Jenkins agent and have been trying to install the required dependencies using yum. After some trial and error, I started receiving the following error on yum update -y Error: ...
saq7's user avatar
  • 111
0 votes
1 answer
1k views

Ansible and Jenkins: "winrm is not installed: cannot import name utils

I started to learn Ansible and Jenkins a few days ago. I'm stuck on one particular problem and despite many efforts can't figure it out. I have a very basic playbook that runs OK if I run it directly ...
Okrx's user avatar
  • 73
0 votes
0 answers
1k views

Can't download Jenkins on Ubuntu 22.04

I'm trying to download and install Jenkins on my VPS after reinstalling the image (Ubuntu 22.04) but I always get an error while trying to download it. I followed Jenkins original guide to get it ...
Alessio Raddi's user avatar
4 votes
2 answers
1k views

Jenkins refuses to start - unknown argument --ajp13Port=-1

My jenkins installation on Debian was upgraded (using apt) - and now jenkins refuses to start. I can see the following in the log: Exception in thread "main" java.lang....
Aleks G's user avatar
  • 1,026
1 vote
1 answer
1k views

Jenkins agent is not honoring hudson.TcpSlaveAgentListener.hostName

Background / Environment: Jenkins 2.3x on Ubuntu 20.04 I am trying to use a Jenkins Agent installed on the same system as Jenkins server. Ideally it will connect to just "localhost" when ...
Rino Bino's user avatar
  • 603
1 vote
1 answer
154 views

Ansible & Jenkins

here is my problem I run a playbook on jenkins with extra variables, I want to test in my playbook is variables are defined ansible [core 2.12.1] , jenkins plugin 1.1 here is the command from jenkins :...
Wanexa's user avatar
  • 71
3 votes
1 answer
4k views

Jenkins pipelines do not resume properly after Jenkins restart

Issue Summary: Jenkins LTS + The Durable Task plugin does not properly resume a pipeline job if the Jenkins service is restarted during the task run. This is a regression in Jenkins 2.3x and seems to ...
Rino Bino's user avatar
  • 603
1 vote
2 answers
1k views

Cleaning Jenkins workspace but keep Python .venv intact

This question pertains to working with a Python + Poetry project within a Jenkins pipeline and how to retain the .venv/ SCENARIO: I have a Jenkins Pipeline job that triggers a Python project. The ...
Rino Bino's user avatar
  • 603
2 votes
0 answers
2k views

reserved for jobs with matching label expression when using declarative pipeline

I'm tasked to write Jenkinsfiles for a Jenkins cluster that I do not manage. I'm facing an issue where some of my jobs are hanging with the message "xxxx is reserved for jobs with matching label ...
shellwhale's user avatar
1 vote
1 answer
2k views

Alternative to Jenkins Extended Choice Parameter plugin? [closed]

The Jenkins "Extended Choice Parameter" plugin (https://plugins.jenkins.io/extended-choice-parameter/) has been marked "vulnerable" on the Jenkins website for some time. Does ...
JoeS's user avatar
  • 11
1 vote
0 answers
616 views

Jenkins can't connect to agent on docker

I have jenkins installed and a docker added as cloud. I did the docker image for the agent on docker, that's its code FROM ubuntu:latest ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update &&...
PawelC's user avatar
  • 179
1 vote
1 answer
2k views

How to know the jenkins version supported by a plugin

My Jenkins version is 2.222.1 I want users to be able to login and upload file to Jenkins using job. For that I tried installing the file parameter plugin https://plugins.jenkins.io/file-parameters ...
Rohini's user avatar
  • 55
1 vote
0 answers
98 views

Using the Groovy DSL, how do I let the user chose a node?

I have a primary server running Jenkins, and it is attached to 5 nodes. I want the user (all members of our QA team) to be able to log in, deploy a particular git branch to a particular node, and then ...
charlottesville's user avatar
0 votes
1 answer
1k views

Unable to kill a process by Jenkins : operation not permitted

I am using Jenkins in centos 9 Server. My intention is that Jenkins will kill the existing Java jar process and will restart the new build Jar. previously I have used the same command for centos 8 but ...
Black Swan's user avatar
0 votes
0 answers
701 views

Error in installing Jenkins

I am facing issues while installing jenkins on my ubuntu14.04 server. Java version is 1.8. Steps followed as root: wget --no-check-certificate -qO - https://pkg.jenkins.io/debian/jenkins.io.key | sudo ...
somya's user avatar
  • 1
-1 votes
1 answer
260 views

Are Jenkins Debian Repo keys necessary

I am in the process of migrating an application that needs a running Jenkins instance on the same server. The deployment of the application happens through Ansible. In the steps, there is a ...
somya's user avatar
  • 1
0 votes
0 answers
50 views

unable to install jenkins in centos 9

I have tried to install jenkins several times by following the instruction given in the official site. But failed. Below I am giving the instructions. sudo wget -O /etc/yum.repos.d/jenkins.repo \ ...
Black Swan's user avatar
0 votes
1 answer
626 views

Jenkins running as a service restarts by itself after upgrade from 2.303.2 to 2.319.3

I upgraded Jenkins (running as a service) from version 2.235.5 to 2.303.2 (by just replacing .war file and restarting the service), which seemed to work pretty stable. Before doing it, I upgraded Java ...
Chris's user avatar
  • 1
0 votes
1 answer
7k views

Not able to use for loop using bash in Jenkins pipeline

Following is my code stage ('Connect to cluster (update kubeconfig)') { steps { script { dir("${env.WORKSPACE}/gke-infra-creation") { ...
Zama Ques's user avatar
  • 523
0 votes
0 answers
720 views

When calling script from jenkins it is not working as expected

we have one react application and start it using pm2 with pm2 start manually. We have written one script to run it, it is working as expected when we run script manually on server. But when calling ...
Satish Lamak's user avatar

1
2 3 4 5
13