Questions tagged [jenkins-slave]

Jenkins supports the "Controller/Agent" mode, where the workload of building projects are delegated to multiple "agent" nodes, allowing a single Jenkins installation to host a large number of projects, or to provide different environments needed for builds/tests.

Jenkins supports the "Controller/Agent" mode, where the workload of building projects are delegated to multiple "agent" nodes, allowing a single Jenkins installation to host a large number of projects, or to provide different environments needed for builds/tests.

##More Info

285 questions
4
votes
2 answers

Add a Windows Slave

I have a Jenkins Master running on Linux and I want to add a Windows Slave. Currently I am not able to start the slave: 1) Java Web Start -> Java Web Start is removed in JDK 11 (and was never part of OpenJDK), so as we want to switch our Jenkins to…
Munchkin
  • 4,528
  • 7
  • 45
  • 93
4
votes
2 answers

JNLP port is missing from Configure Global Security in Jenkins

I'm creating a windows slave in Jenkins and for that, I need to use the Java Web Start as a launch method in slave configuration. I'm aware that to view this option in slave configuration, we need to change the setting in Manage Jenkins>Configure…
Sayali
  • 51
  • 1
  • 1
  • 7
4
votes
1 answer

How to connect Android device as Jenkins slave to execute automatic tests

I am trying to execute automatic tests using robotframework + appium + Jenkins. My biggest problem is to set up the necessary infrastructure. I have a Windows VM (slave) with 4GB RAM but the emulator took more than 30 minutes to getting started. I…
koxta
  • 846
  • 2
  • 8
  • 30
4
votes
1 answer

How to specify slave.jar compatible jdk version in Jenkins

My maven project have a hard dependency on jdk1.7. I have Jenkins(2.89.4) instance which has jdk 1.8. When I try to connect to slave which(specifying jdk 1.7 in this slave config), launch agent is failing with error below Starting slave process:…
abhig
  • 840
  • 2
  • 12
  • 22
4
votes
3 answers

Gradle build in docker jenkins slave

I am trying to create a jenkins slave for building gradle lambda projects. Jenkins slave is throwing the below error while building the project. Exception in thread "main" java.lang.RuntimeException: Could not create parent directory for lock file…
Anil Bhaskaran
  • 495
  • 1
  • 8
  • 23
4
votes
3 answers

Jenkins slave running in ECS cluster can not start container

I'm using jenkins slave in AWS ECS cluster, I config like this web: Jenkins in ECS. Normally it works well, but sometimes in rush hour, the slave container starts very slow, more than 40mins, or even can not start container. I have to terminated the…
Tien Dung Tran
  • 1,127
  • 4
  • 16
  • 32
4
votes
1 answer

Jenkins: how to test the slaves

I am creating a list of Jenkins jobs for sanity test of our Jenkins build environment. I want to create layers of jobs. The first layer of jobs will check the environment, e.g. if all slaves are up, the 2nd layer then can check the integration to…
Jirong Hu
  • 2,315
  • 8
  • 40
  • 63
3
votes
0 answers

Not able to make slave node online in jenkins

SSHLauncher{host='10.10.0.15', port=22, credentialsId='veera', jvmOptions='', javaPath='', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=210, maxNumRetries=10, retryWaitTime=15,…
Lokesh Kumar
  • 51
  • 1
  • 2
  • 8
3
votes
2 answers

How to solve the Jenkins' java.nio.file.AccessDeniedException on a remote node?

I created a sandbox project and want to run its declarative pipeline on a remote slave/node/agent. I see, that the SSH connection between Jenkins and the slave is working. Jenkins can login on the remove machine (as user ec2-user). But the execution…
automatix
  • 14,018
  • 26
  • 105
  • 230
3
votes
1 answer

Jenkins IllegalArgumentException while adding a new slave

I want to add a new slave to Jenkins. When I followed the Jenkins UI, it gives me the command below java -jar agent.jar -jnlpUrl http:///computer//slave-agent.jnlp -secret…
happy-integer
  • 383
  • 1
  • 3
  • 15
3
votes
0 answers

Jenkins build agents disconnecting

I am having an issue with Jenkins build agents seeming to disconnect and fail to run jobs randomly. The build agents (3 of them) are Windows VM’s running in Azure. Jenkins is configured to run as a service on each build agent. The Jenkins server…
avidgoffer
  • 193
  • 1
  • 2
  • 18
3
votes
3 answers

Jenkins Agent Security

I have 2 questions that Im trying to figure out. QUESTION 1 I have setup a Jenkins Master and am trying to create a Agent using the UI. Here is the UI snippet. Now when I click Save and open the Agent, it tells me to use this command to…
user4889345
3
votes
0 answers

Remote call on JNLP4-connect connection failed when running Jenkins slave on Mac

The below message is shown in Jenkins console after it runs properly for sometime, I am using macOS High Sierra, with Java version 11 and Jenkins version 2.47. Any idea what might be wrong? FATAL: Remote call on JNLP4-connect connection from…
Anand
  • 183
  • 2
  • 7
3
votes
1 answer

Docker secrets not working when password has special characters

I am trying to run jenkins swarm agent using the docker-compose provided here. Issue is I am using a service account provided by my admin team to authenticate against jenkins master and the password for the service account contains special…
cnu
  • 477
  • 8
  • 22
3
votes
0 answers

java.lang.Exception: The server rejected the connection: None of the protocols were accepted:

I am running jenkins master on kubernetes as docker container with docker image (jenkinsci/blueocean:1.5.0). I am trying to add a slave node (ec2 ubuntu instace installed java version "1.8.0_171") via web start on fixed port. I would able to telnet…
1 2
3
18 19