Questions tagged [jenkins]
Jenkins, the Continuous Integration Tool
298
questions
0
votes
1
answer
42
views
Jenkins Continuous Integration Server not starting on Linux EC2 Instance
I am facing a problem starting jenkins after an update on an Linux EC2 Instance. There was an older version of Java installed and i updated using yum command
sudo systemctl status jenkins.service
...
0
votes
0
answers
19
views
Why does my Jenkins service on Windows always turn off? [closed]
I use a Jenkins service on Windows to realize my CI/CD pipeline. Sometimes, this service turn off and my job cannot run. I don't understand why.
I decided to change my password for this service and ...
0
votes
0
answers
57
views
Jenkins publish over SSH fails to connect after upgrading Jenkins
I recently upgraded Jenkins from 2.46.2 to 2.426.3.
My config of Publish over SSH stopped working.
It uses password authentication.
I provided:
Name [DEV]
Hostname
Username
Password
Remote directory
...
0
votes
0
answers
50
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/...
0
votes
0
answers
80
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 ...
0
votes
0
answers
240
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 ...
2
votes
1
answer
278
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 = ...
0
votes
1
answer
705
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 ...
0
votes
0
answers
288
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=...
5
votes
1
answer
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 ...
0
votes
0
answers
210
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:
...
1
vote
0
answers
4k
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 ...
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 ....
1
vote
0
answers
379
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 ...
-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 ...