Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [jenkins]

Jenkins, the Continuous Integration Tool

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

jenkins change powershell core default terminal size on linux host

When using powershell core on a linux host Jenkins is truncating the output at 80 characters. I found this post which describes how to resolve it on Windows, https://stackoverflow.com/questions/...
Noah Sparks's user avatar
0 votes
0 answers
47 views

Jenkins Installation Fails with Error 1603 Using Chocolatey on Windows

I'm encountering an issue while installing Jenkins via Chocolatey on Windows. Initially, I received an error about Java not being available, which I resolved by setting JAVA_HOME and updating the Path ...
Foad's user avatar
  • 662
0 votes
0 answers
212 views

Find and Replace does not seem to work in Jenkins Pipeline

I have the following code to search a string and replace it in all deployment.yaml files sh "find . -name deployment.yaml -exec sed -r -i 's,$project.*,$project:$tag,' {} +" it works locally ...
user2179627's user avatar
2 votes
1 answer
255 views

Colored status border missing in MS Teams Notifications sent from Jenkins

We have a Jenkins Connector configured to receive build notifications. In the past, the Jenkins notifications have been displayed in Teams with a colored border line showing the build status (red = ...
mjustin's user avatar
  • 123
0 votes
1 answer
636 views

Jenkins is unable to connect to GitLab

I've got Jenkins and GitLab setup in my homelab running in docker containers. I was able to connect to GitLab from Jenkins, pull the desired repo, and perform the steps in the Jenkinsfile. I had a ...
Jonathan Heady's user avatar
0 votes
0 answers
272 views

I can only start Jenkins Manually with Java command, how do I have it start on boot?

So I installed Jenkins on my Windows machine, I had it working fine and was setting up my first pipeline when I got an error message about need to set Dhudson.plugins.git.gitscm.allow_local_checkout=...
Adam Schneider's user avatar
5 votes
0 answers
3k views

GPG Error on APT-GET docker container (Ubuntu 22.04)

I am trying to just apt-get update on a ubuntu:22.04 docker container. On my local machine, when I spin up a new ubuntu:22.04 docker container and run apt-get update, no error occurs. However, on my ...
Jason Chan's user avatar
0 votes
0 answers
199 views

starting Jenkins with runas

I am trying to start Jenkins service but via CMD. This service requires specific credentials, because I set up Jenkins to run only with specific account, not as local system account. When I type: ...
Maciej Dałek's user avatar
1 vote
0 answers
3k views

ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [125]]

Our jenkins deploy process checks out our git repo into the workspace and create the docker container from the docker file. Docker file is given in the ec2 machine. and commands to create docker ...
user1757996's user avatar
0 votes
2 answers
3k views

Jenkins build not reading or recognizing all of the environment variables with a Jenkins build in macOS

I have an issue reading or recognizing all of the environment variables with a Jenkins build. All of those necessary variables have been set via Terminal and are properly written in both .bashrc and ....
Mishovski's user avatar
1 vote
0 answers
358 views

OpenSSH sshd.exe does not start with KexAlgorithms parameter

Running OpenSSH Server 8.1p on Windows Server 2016 DC When I add the parameter "KexAlgorithms" in the sshd_config, the service fails to start. I want to add legacy support for key methods ...
Daryl's user avatar
  • 11
-1 votes
1 answer
2k views

Error 1064: An exception occurred in the service when handling the control request. Jenkins agent

I tried to follow the instructions from YouTube video: https://www.youtube.com/watch?v=N8AQTlHoBKc on how to install Jenkins Agent on Windows as a service. Unfortunately, the service didn’t start. How ...
Andrei Suslov's user avatar
0 votes
1 answer
934 views

Jenkins agent "invalid X-Instance-Identity" after SSL Certificate implementation

I have a Jenkins 2.371 instance. In order to be secure, I have requested SSL certificates and implemented it. Jenkins UI is now running fine use https://servername.domain.com/ The problem comes with ...
Gerhard's user avatar
  • 139
0 votes
1 answer
7k views

How to use git pull with Jenkins sh steps?

git pull doesn't work with Jenkins for some reason. I've updated some files on my local PC and pushed it to my Github. I can see the changes there. Then I run Jenkins build that has sh commands to ...
J. Doe's user avatar
  • 17
0 votes
1 answer
480 views

jenkins replay button, search in pipeline code

I'm using the Replay button in Jenkins to tweak changes to pipeline scripts without committing them. When I use the browser's search function to locate a string that exists in the code, most of the ...
Francis's user avatar
  • 185
0 votes
1 answer
1k views

I need to schedule a job in jenkins that runs every 15th working day. Is it possible to do so?

00 15 * * 1-5 will run the job for every day. But I need to run it only on 15th working day.
Apoorva's user avatar
1 vote
1 answer
1k views

Jenkins + Docker: Error response from daemon: Container not running

I am currently trying out my first Jenkins project. Which is supposed to be a simple create and publish a Docker Image if there's a commit on Github. I'm using an EC2 instance which has Jenkins and ...
Momo979's user avatar
  • 11
1 vote
1 answer
2k views

Jenkins: Unable to access jarfile remoting.jar

I am have a Jenkins setup, where Controller (linux) is connected to slave (windows) via ssh using username/password authentication. I am whenever I try to launch the agent I get Error: Unable to ...
Kiwi's user avatar
  • 11
0 votes
0 answers
4k views

How to get all Jenkins job details for last 7 days and send that data over mail

I am new on Jenkins and I wants powershell script to get the details of all jobs of Jenkins for last 15 days. I will send that details of Jenkin's jobs over mail to my Manager. I will be very thankful ...
Catherine's user avatar
0 votes
0 answers
491 views

Powershell script to get and send all Jenkins job's details for last 15 days as attachment

I am new on Jenkins and I wants powershell script to get the details of all jobs of Jenkins for last 15 days. I will send that details of Jenkin's jobs over mail to my Manager. I have tried below ...
Catherine's user avatar
0 votes
0 answers
74 views

Jenkins: Scan repositories after start-up?

Suppose you push changes to a branch while Jenkins is down. When it starts back up I expect it to scan all repositories for changes and queue the builds it missed. But I'm not sure if there is an ...
Josh M.'s user avatar
  • 1,508
0 votes
1 answer
548 views

How to switch from LTS to Weekly release for Jenkins in Windows?

Currently have a Jenkins stable/LTS instance running on Windows Server 2008 R2 which I would like to switch to weekly release. Is there anyway I could edit some config files to have it switch from LTS ...
zhuanyi's user avatar
  • 246
0 votes
1 answer
27 views

How to create a hansdshake for Jenkins when assumeing an IAM role?

I have a desired workflow that looks something like this. Terraform stored in Bitbucket. Push triggers, Jenkins job. (Bur default IAM Role for Jenkins agents can't do some things. Like write IAM ...
Josh Beauregard's user avatar
1 vote
1 answer
761 views

Can a Jenkins install use different paths for binaries and jobs, artifacts?

I'm installing Jenkins (on Windows) and would like the installation itself -- jenkins.war, jenkins.exe, plugins, to be on the system drive (C:), but the jobs and artifacts -- on D: The documentation ...
Mikhail T.'s user avatar
1 vote
0 answers
514 views

Orientation to know the scenarios to choice the best "Host Key Verification Strategy" option [closed]

About SSH for a remote and secured connection the approach is create in the client a pair of keys, public and private, do a copy of the public key content in the server within the .ssh/authorized_keys ...
Manuel Jordan's user avatar
-2 votes
1 answer
264 views

Jenkins is not opening in browser only in my laptop? [closed]

From two days I am facing this problem. Till 2 days before Jenkins.... worked without any error in my laptop. My Jenkins server is in AWS EC2 (Amazon Linux). All my deployments are also there in ...
Mani Gopal's user avatar
1 vote
1 answer
196 views

How to add home folder to user without one

I have a lxc container. I connect to it with sudo lxc-attach 100 which works fine. but I want to use it as a deployment target for jenkins (I know that I could use docker, but I haven't gotten that ...
JoSSte's user avatar
  • 403
0 votes
2 answers
10k views

Can't open C:\Windows\System32\config folder from File Explorer

I just installed Jenkins 2.289.1 on Windows 10 Home. After Jenkins has started on browser, I have to go into C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\secrets\...
Wuagliono's user avatar
  • 103
0 votes
1 answer
144 views

Is it possible to install Jenkins on Windows 10 Home?

I managed to overcome the error message as was described in this question https://stackoverflow.com/q/66230916/2875641 but yet, the Jenkins service cannot start. Us it possible to start it on Win 10 ...
dushkin's user avatar
  • 311
0 votes
0 answers
1k views

How do I create a service account Jenkins

When installing Jenkins - Windows10 not domain joined - I get to a service configuration step, where in the past I would have either used my own interactive logon account to run the service under, or ...
Conrad B's user avatar
  • 177
1 vote
1 answer
676 views

"This operation requires an interactive window station" error when launching GUI via jenkins on aws windows instance

I have a windows ec2 instance which runs a build server for a unity game, controlled by jenkins. When running unity with the -batchMode command, I can make the game build successfully. I'd like to run ...
tenpn's user avatar
  • 30
1 vote
0 answers
672 views

Jenkins Cucumber reports plugin error

I have working Jenkins 2.277 on Ubuntu 20.04. Then I have Cucumber reports plugin 5.5 installed. Configuration looks like on the picture. As I run the test I am getting an error in the console log: ...
Čamo's user avatar
  • 355
5 votes
1 answer
6k views

Jenkins config file for Global Security - Security Realm - Jenkins’ own user database

I need to find out where Jenkins stores its configuration data. Especially Global Security - Security Realm I tried to search var/lib/jenkins folder but without any success. Is there config file with ...
Čamo's user avatar
  • 355
2 votes
2 answers
1k views

Jenkins how to set httpListenAddress

I need to hide Jenkins behind the Apache proxy because Jenkins does not run on https. So I started with this article where is warning Make sure that you change the Jenkins httpListenAddress from its ...
Čamo's user avatar
  • 355
2 votes
1 answer
442 views

Jenkins SSH Host/User Certificates workflow

How to setup SSH key signing process every time some Ansible stage runs? Or at some interval at least. I have pipeline which creates VM's with the Terraform and then runs Ansible. At cloud-init stage ...
Dzintars's user avatar
  • 130
3 votes
1 answer
613 views

Jenkinsfile pipeline for running vagrant up

I am encountering a strange issue, when i run vagrant up, the virtual machine builds up fine and works as intended, but when I run the same command in a Jenkinsfile pipeline, after the build is ...
Cornel Bortici's user avatar
0 votes
1 answer
1k views

GPG error The following signatures couldn't be verified because the public key is not available

I'm following this guide for the installation of Docker inside a Jenkins container This is the Dockerfile of the Jenkins container: FROM jenkins:1.596 USER root RUN apt-get update RUN echo "...
splunk's user avatar
  • 133
1 vote
1 answer
5k views

How to solve Error: docker: Error response from daemon: the working directory is invalid

I am just starting to use Jenkins and Docker in Windows10. Currently I have installed both Jenkins and Docker and created a Dockerfile and a Jenkinsfile Unfortunately whenever I try to build in ...
Owen Kelvin's user avatar
-1 votes
1 answer
1k views

error in running ansible-playbook with jenkins

--i have a ansible playbook in ubuntu user and i am able to push this playbook in the remote user -- now i have install jenkins in this ubuntu(EC2 instance) server , and i have given jenkins all ...
Aditya Singh's user avatar
0 votes
2 answers
563 views

How to let jenkins manage availability of windows ec2 node?

I have a jenkins ubuntu server and several windows nodes running on ec2. I'd like for the server to turn the windows boxes on and off as they're needed. I think that means using the "launch ...
tenpn's user avatar
  • 30
0 votes
1 answer
119 views

How to figure out jenkins pipeline command from plugin source?

The unity3d jenkins plugin https://plugins.jenkins.io/unity3d-plugin/#documentation is quite old. It hasn't been updated since 2015! I'd like to use it in a pipeline script, but the documentation ...
tenpn's user avatar
  • 30
0 votes
1 answer
919 views

Jenkins stops responding after trying to run a job

I'm currently trying to repair a Jenkins installation, something I've never done before, and am having trouble. I've gotten to the point where I can view all of the jobs and run a build. However, most ...
Greg Martin's user avatar
0 votes
1 answer
1k views

How to list file entries based on first dropdown in Jenkins

I would like to make two dropdowns in Jenkins where I can choose files at the first dropdown from a directory and the second dropdown should change based on the first dropdown (where the file has been ...
O.K.'s user avatar
  • 3
0 votes
1 answer
357 views

Jenkins Schedule build

Getting little confusing with the Jenkins build scheduling. I want to schedule a build that will run at first day of the month, every 6 months. As for now i have this H H 1 * * But I'm not sure it's ...
hightest's user avatar
  • 101
0 votes
1 answer
558 views

Can't SSH to server using Private Key [duplicate]

I am trying to login to my server using SSH using private key file. I am using below command to SSH ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o 'IdentityFile="/root/.ssh/id_rsa&...
heartofrevel's user avatar
3 votes
1 answer
1k views

Jenkins pipeline calls git.exe on non-windows node

I have a master set up on Windows machine. I have a few nodes on Jenkins, one of which has 2 labels: "system project". This node is actually a plain Solaris 11.3 machine. Other nodes are plain ...
a_girl's user avatar
  • 286
0 votes
0 answers
243 views

jenkins hosts unreachable - build failing

In my jenkins - build fails in every few days and it shows the below error/message -- (this job is running on my jenkins slave machine) Build o/p - ok=52 changed=5 unreachable=1 failed=0 ...
GAURAV SHARMA's user avatar
0 votes
1 answer
441 views

Tunneling to Windows VM hosted on Linux from Jenkins Docker container

I am running a Linux Fedora workstation (Fedora 31) hosting a Windows 10 VM and a Jenkins server in docker (on Linux). I Need the Jenkins server (Linux) to connect to the Jenkins agent on the Windows ...
Charles's user avatar
0 votes
2 answers
1k views

Jenkins can't find "Git plugin"

In Plugin Manager, under the Available tab, "Git plugin" is not available. I'm running the Jenkins war with Tomcat. Can I paste a log, a config or something? This problem was detailed elsewhere, can'...
chrips's user avatar
  • 264
0 votes
1 answer
2k views

Delete all previously failed Jenkin builds

I have a quite large multibranch Jenkins installation. I would like to automatically remove all previously failed builds on a branch if the current build passes. But I can only find the previous build ...
Exostor's user avatar
  • 101

1
2 3 4 5 6