50,529 questions
-1
votes
1
answer
76
views
Connection refused for localhost:9990 & localhost:8080
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 ...
5
votes
2
answers
270
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 ...
0
votes
0
answers
36
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
48
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 ...
0
votes
0
answers
47
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 ...
4
votes
1
answer
94
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 ...
1
vote
0
answers
52
views
How to use a local groovy class in the Jenkinsfile?
I am trying to load a class from my git repository (which is not a shared library), but I run into serialization problems. I have a class ProductData in src/com/mycode/ProductData.groovy. The class ...
0
votes
1
answer
72
views
Having trouble deploying AWS SAM, even though the build succeeds
Goal: I have been tasked with deploying an AWS SAM build change in our dev environment, where the removal of two (of seven) image Lambdas is required. Let's call them FuncA and FuncB. These two ...
1
vote
1
answer
42
views
java.lang.NoSuchMethodError: No such DSL method 'withAWS' found among steps
I want to create a Jenkins job which cleans all images from a list of defined repositories.
I tried this:
pipeline {
agent any
environment {
AWS_DEFAULT_REGION = 'us-east-1'
...
0
votes
1
answer
40
views
Jenkins GCE Plugin: One master deletes the agents of another master despite different Service Accounts and Name Prefixes
Jenkins GCE Plugin: One master deletes the agents of another master despite different Service Accounts and Name Prefixes
The Setup:
Jenkins A (Legacy): Uses Service Account A (jenkins@...).
...
0
votes
1
answer
74
views
Groovy script not working in Jenkins job, but it does on script console
I have the following Groovy/pipeline script I use as an "Active Choice Parameter." I run it in a Groovy sandbox or as an approved script. It gets a job's successful builds' display names and ...
0
votes
1
answer
95
views
docker container not using passed-in JAVA_OPTS="..."?
Docker version 25.0.13, build 0bab007 on Amazon Linux image
I run the following script to start Jenkins as a Docker container
JENKINS_HOME=/home/jenkins
JENKINS_VERSION=2.528.3
docker run --restart=...
1
vote
1
answer
95
views
in jenkins how create a pod template with the "Raw YAML for the Pod" filled througth manifest, with helm
in jenkins I want to create a pod template with the "Raw YAML for the Pod" filled througth manifest, with helm at the moment when Jenkins is created
I have a jenkins-controller.yaml where ...
0
votes
0
answers
57
views
Error in credential substitution in downstream job when upstream job is strigged by timer in Jenkins
I am using Jenkins version 2.528.3 with Parameterized Trigger plugin (Version873.v8b_e37dd8418f).
I have a job (free style) (JOB A) which is parameterized to accept credential parameter of type secret ...
0
votes
0
answers
89
views
How to create an atomic unabortable step in jenkins
I have a Jenkins pipeline with a critical stage that runs my custom .NET CLI performing important tasks. I want this stage to be fully atomic, meaning that if someone tries to abort the build while ...