Questions tagged [jenkins]

Jenkins is an extendable open source continuous integration server

Filter by
Sorted by
Tagged with
0 votes
1 answer
190 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
21 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
50 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
61 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
34 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
52 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
379 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
0 answers
157 views

How to configure the Kubernetes plugin in Jenkins

I have Jenkins Master running on an EC2 in AWS. I then created a pipeline in EKS. Both the Jenkins Master and the pipeline are running in the same VPC. It is from the Jenkins Master that I create ...
Systemgeek's user avatar
0 votes
0 answers
140 views

Unable to connect Jenkins master VM (Linux) from a windows slave VM through agent.jar

Command ran to connect : java -jar agent.jar -jnlpUrl http://vmnx-testvm01.eur.ad.sag:8080/computer/vmdkp01%2Eeur%2Ead%2Esag/jenkins-agent.jnlp -secret ...
Dillip's user avatar
  • 1
0 votes
1 answer
61 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
0 votes
0 answers
27 views

Jenkins with GCP ephemeral agents take much longer to start agent with declarative pipeline

We have a jenkins instance using ephemeral agents in gcp. We use container image to build in. Our existing pipeline (scripted and setup via gui) takes about 5-10 seconds to spin up an agent and start ...
s_qw23's user avatar
  • 101
1 vote
1 answer
146 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
305 views

jenkins on kubernetes, jobs are not running, how to fix that?

When I to run any job, getting this error in jenkins logs. The job just stuck in pending state. fully completed. We have now 2 computer(s) 2023-03-27 15:21:32.237+0000 [id=34] WARNING j.u....
user2331760's user avatar
0 votes
0 answers
411 views

Kubernetes plugin is not creating any containers in the cluster even the test connection is successful in jenkins, how to fix that?

Kubernetes plugin is not creating any containers in the cluster even the test connection is successful in jenkins, how to fix that? My jenkins log: Running from: /usr/share/jenkins/jenkins.war 2023-03-...
user2331760's user avatar
0 votes
0 answers
318 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
78 views

How to run the following commands on the master node before executing any pipeline in Jenkins. can't find any option to run pre build step

How to run the following commands on the master node before executing any pipeline in Jenkins. can't find any option to run pre build step. docker system prune --all docker volume prune
Nishanth's user avatar
0 votes
0 answers
372 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
1k 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
0 answers
103 views

The POM for org.apache.maven.plugins:maven-resources-plugin:jar:2.6 is missing

I created a jenkins free style job I inserted my github repo, Installed maven on the server, When I run the job I get error: The POM for org.apache.maven.plugins:maven-resources-plugin:jar:2.6 is ...
Samson's user avatar
  • 113
0 votes
1 answer
42 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
829 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
361 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
  • 1
0 votes
0 answers
97 views

How do I use SVN+SSH with a custom port and externals on Jenkins

We use SVN with SSH because it is better than anonymous access and the HTTP setup looked complicated and difficult to use when I was setting up authenticated SVN. Subversion uses a custom port because ...
AlastairG's user avatar
  • 348
0 votes
0 answers
98 views

jenkins multibranch - why jenkinsfile checkout only main

I have seen a multibranch example : https://devopscube.com/jenkins-multibranch-pipeline-tutorial/?unapproved=49471&moderation-hash=53d25ad46b16419cf56ed585dbf9d693#comment-49471 Why the ...
user2358299's user avatar
0 votes
0 answers
1k 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
0 answers
242 views

How to configure jenkins to a subdomain url?

I am trying to configure jenkins to an existing ALB by creating a target group(instance type) and rule. In the rule I kept like this. dev.companyname.com/jenkins But when I click on the url, it is ...
user2331760's user avatar
0 votes
1 answer
472 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
371 views

Debugging Jenkins pipelines and shared library

We are using both scripted and declarative pipelines. In CI flow we are using Jenkinsfile and in some other flows we are using Jenkins GUI pipelines which triggers different functionality from shared ...
ssb's user avatar
  • 1
0 votes
0 answers
114 views

Is there anyway i can build iOS app using Jenkins without using MAC machine (even without using slave MAC mechine)

In our organisation, we have Jenkins master server running on Linux, and able to build the Android apps and deploy it to app store. But how to use the same Jenkins server to build the pipeline for the ...
Rajsekar Reddy's user avatar
0 votes
0 answers
186 views

Why did the SSH API of my Jenkins instance get so slow?

Accessing my Jenkins 2.319.1 instance via SSH get very slow a few days ago. I don't know what changed. To narrow it down: Accessing Jenkins via HTTPS API is OK. The performance of the Web API is OK, ...
hagello's user avatar
  • 101
0 votes
0 answers
380 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
583 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
0 votes
0 answers
125 views

jenkins ssh agent set variable with

Iam using this command to set variable ssh -o StrictHostKeyChecking=no -l ec2-user 1.1.1.1 export GRAFANA=$(kubectl get svc grafana -n grafana -o jsonpath='{.status.loadBalancer.ingress[*].hostname}') ...
Rahul's user avatar
  • 1
0 votes
0 answers
126 views

How to Deploy a war files in docker container by using jenkins free style job?

I have a Redhat8 server, on that server I install docker. I take the centos8 image and create a container. In that container I install tomcat. manually I deployed wars in that container until now all ...
Rajesh Gandhavarapu's user avatar
1 vote
1 answer
848 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
948 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
794 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
3 votes
2 answers
995 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
  • 966
1 vote
1 answer
867 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
  • 563
1 vote
1 answer
132 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
2 votes
1 answer
3k 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
  • 563
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
  • 563
2 votes
0 answers
1k 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
471 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
  • 159
1 vote
1 answer
1k 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
76 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
936 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
624 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
  • 3
0 votes
1 answer
242 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
  • 3

1
2 3 4 5
14