50,486 questions
Score of 1
0 answers
63 views
Jenkins ws-cleanup cannot delete Windows workspace because files seem locked
I am running a Jenkins pipeline on a Windows Jenkins agent/controller.
During the post-build cleanup step, the ws-cleanup plugin sometimes fails to delete the workspace.
The workspace is located here: ...
Score of 1
1 answer
164 views
StackOverflowError during mvn clean install on Jenkins
I have a Spring Boot artifact that builds perfectly fine via maven on developer machines, however on our Jenkins server the build fails with a StackOverflowError (stack trace below).
This is the only ...
Score of 0
1 answer
59 views
Jenkins client implementation is not authenticating with Jenkins server
Please look over the code below to see if it seems correct. It results in a 403 error as it stands.
This is part of a Java program to run 2 Jenkins jobs.
The "Map keys" are column names ...
Best practices
0
votes
0
replies
44
views
How to use build results from timer-triggered builds in Jenkins?
I have a CI job, which could be triggered either manually or by timer. I want to compare manually triggered build results with the last successful timer run.
I have a script, which will do the actual ...
Best practices
0
votes
2
replies
110
views
Using one Jenklinsfile across multiple branch
Is it a good practice to centralize Jenkinsfiles in a separate repository?
I'm currently using a multibranch pipeline in Jenkins. My project repository contains a Jenkinsfile at its root, so every ...
Score of 1
1 answer
69 views
Jenkins (Windows Server 2025) won't clone shared lib when calling pipeline B from pipeline A
I'm using Jenkins as a service on Windows Server 2025.
My jenkinsfiles are stored in a Gitlab repo as well as my shared libraries.
Everything works fine when manually building any of my pipelines, but ...
Best practices
0
votes
4
replies
112
views
Environment-Specific Configuration Values During a Jenkins + Maven Build
I’m ( Trying :) ) to build an automatic deployment pipeline using Jenkins and Maven, and I’m looking for best practices around handling environment-specific configuration.
Scenario:
I have a Java ...
Score of 0
0 answers
110 views
How to suppress or avoid errors from a failing first attempt to clone a repository from GitHub on Jenkins?
For our system:
We have repositories on GitHub
We have a Jenkins instance running with several agents
We have a GitHub App configured to clone those repositories from Jenkins
We have the Log ...
Best practices
1
vote
1
replies
132
views
Docker Project: A to Z process step by step
Would you recommend any free complete project has been created using docker which I can practice to learn in detail? I looked various sources but found limited resources like half or magnetic part of ...
Score of -1
1 answer
116 views
Connection refused for localhost:9990 & localhost:8080 [closed]
We are migrating jenkins job from Vapp to GridEngine
When we run any test cases we could see the connect refused as localhost:8080 & localhost:9990
Gussing: the server is not configured for ...
Score of 5
2 answers
347 views
Node in Jenkins is offline although agent is connected in server
I've got Jenkins dashboard with several freestyle projects hooked to several nodes. Each node is automatically online after a script in Windows server runs automatically each corresponding agent using ...
Score of 0
0 answers
63 views
How to use API to retrieve only failing tests from Jenkins testreport/testresult?
How to retrieve information about tests have that FAILED?
I have been able to retrieve the full testreport using:
curl jenkins.com/job/myjob/lastCompletedBuild/testReport/api/json
But if this list is ...
Tooling
2
votes
0
replies
63
views
What should be used in Jenkins pipelines for FTP operations like download, delete, move, or rename?
I am working with a Jenkins pipeline that needs to perform several FTP operations such as:
Download files from an FTP server
Delete files or folders
Move or rename files and directories
I found the ...
Score of 0
0 answers
61 views
Jenkins GitHub Plugin not passing Pull Request environment variables such as CHANGE_ID
I'm currently building a job to run terraform plan on pull requests and comment the output back into said PR. However I'm having trouble getting the comment curl command to work because the CHANGE_ID ...
Score of 4
1 answer
120 views
Building and deploying a springboot application that uses Keycloak
I am new to devops and have a project to learn some tools. Currently I am using jenkins running in a docker container to build and deploy a WAR to tomcat running in another container. The springboot ...