2,646 questions
1
vote
1
answer
51
views
I keep running into MissingPropertyException on my Jenkins job although the varibale is defined
ERROR: Build step failed with exception
groovy.lang.MissingPropertyException: No such property: manager for class: Script1
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(...
1
vote
0
answers
174
views
Uploaded file in fileparameter not found after some time waiting in Jenkins queue
We use a free-style job in Jenkins with a file parameter to launch a job that reads that file to perform some actions.
Sometimes we want to schedule this job (with the help of the Schedule Build ...
0
votes
1
answer
94
views
How to programmatically build a jobs in a view in hudson
I have a 500+ Jenkins jobs in a particular view. I need to trigger those jobs programmatically using the Jenkins script console. I tried with the below code but it didn't work.
import hudson.model....
1
vote
0
answers
743
views
unable to resolve class hudson.model.StringParameterValue
I am developing a groovy script in my pipeline A to get the latest revision of a svn repository ,save it into revision variable and append it to the version number tag in a POM file in Pipeline B. The ...
2
votes
1
answer
282
views
hudson.FilePath : How to list subDirectories as well whole using excludes glob filter
I am working on a Jenkins custom Plugin, where I need to list all valid FilePaths: sub-Directories and child files, excluding some temporary files like .git,.npm,.cache etc, the full list is included ...
0
votes
0
answers
652
views
FATAL: Remote call on jenkins node server failed
We are using jenkins version is 2.121.3.
For java JDK versions we are using different versions for master and slave machines.
This issue will occurs only for security jobs. Which they are added ...
1
vote
1
answer
131
views
Better parallelization of jenkins build nodes
I have a Jenkins jobs that runs as so (very simplified but the structure is there):
#!/usr/bin/env groovy
node('my_label'){
timestamps{
build()
postBuild()
}
}
def build(){
parallel{
...
0
votes
0
answers
5k
views
Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: Connection closed before acknowledgement sent
When trying to connect an agent node (Rhel) using the "java -jar agent.jar -jnlpUrl", the connection is not successful.
Getting the error "Protocol JNLP4-connect encountered an ...
1
vote
1
answer
1k
views
How to get only the Full name of previous Jenkins build
I would like to send the full name of the previous build that was received by using the following:
Run previousBuild = steps.currentBuild.rawBuild.getPreviousBuildInProgress()
in order to send to ...
1
vote
0
answers
699
views
Jenkins local EnvVars with hudson function
I try tofigure out how environment variable in jenkins are working and I get confused. Maybe someone can help to find my missunderstanding:
Pipleline:
import hudson.EnvVars;
import hudson.slaves....
0
votes
0
answers
134
views
Can we add windows 2019 as agent node in Jenkins 1.596.2. Is it compatible?
Can we add windows 2019 as agent node in Jenkins 1.596.2. Is it compatible? we are unable to location any official documentation. Please suggest?
2
votes
0
answers
2k
views
Change/sort or prioritize the build queue in Declarative Jenkins Pipeline
What I want:
I want to change/sort the build queue in my Jenkins file (declarative Pipeline). Actually I want to make priority in my builds.
I am familiar with the following plugins:
PrioritySorter
...
2
votes
0
answers
1k
views
Jenkins can't save new project or can't update configuration of existing ones
I'm using Jenkins 2.286 version on Windows 10.
I need to use the bitbucket hooks to trigger build when any pr merge made on the repository.
I've installed necessary plugins to communicate with ...
0
votes
2
answers
75
views
A basic question about continuous integration
This is not a programming question, but I don't know any more active forum and besides programmers are the best people to be able to answer my question.
I am trying to understand the rationale behind ...
1
vote
0
answers
259
views
Forked Java VM Exited Abnormally for random Testcase
I have a set of test suites say, X, Y, Z. When I run test suite X on my development machine it runs absolutely fine. But when I run the test suites through Hudson job on some remote machine that runs ...