Questions tagged [jenkins]
Jenkins, the Continuous Integration Tool
299 questions
1
vote
0
answers
50
views
How to use `agent { dockerfile }` in declarative Jenkins pipeline?
I am currently using Jenkins 2.530 on an otherwisely unknown-and-inaccessible-to-me Linux machine. (E.g. no ssh.)
Docker provider is podman 5.4.0, which I think is part of the problem.
What I want to ...
0
votes
1
answer
102
views
Jenkins controller behind a proxy, agent in another network that isn't. Controller is passing proxy config to the agent. How to stop this?
I have a Jenkins setup that's behind a corporate proxy. Until now, all its agents have been behind said proxy. It has a proxy configured in the system settings.
However, we've got a use case where ...
0
votes
0
answers
95
views
Jenkins Groovy syntax not working for find command
I'm trying to use find command with a backslash on the command below at groovy syntax:
stage("ArtifactRename") {
sh '''find "./os/mcu/GNU ARM v10.2.1 - Debug" -name "\\...
0
votes
1
answer
214
views
Bat file runs locally from cmd, but loops when ran using Jenkins
I created the following .bat file in order to shutdown onedrive service:
whoami
"C:\Program Files\Microsoft OneDrive\OneDrive.exe" /shutdown
If I double-click on the .bat icon file, this ...
1
vote
0
answers
69
views
How to schedule jenkins job for alternate week?
Having 2 jenkins schedule file need to run each file alternate week means 1 file run current week and 2nd file should run on next week
0
votes
1
answer
1k
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
608
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 ...
2
votes
1
answer
370
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
1k
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
430
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=...
6
votes
1
answer
5k
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
344
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
5k
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
1
answer
755
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 ...