Questions tagged [jenkins-slave]

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

3
votes
1answer
37 views

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 ...
2
votes
0answers
23 views

Jenkins Showing Windows 10 Node As Windows 8.1

I recently upgraded a Windows 7 node to Windows 10, but Jenkins is showing Windows 8.1 in the "Architecture" column. Is there some sort of reference that isn't linking up with the new configuration?
0
votes
0answers
6 views

Jenkins Agent JNLP Behind AWS NLB Connection Timout

I am trying to setup a Jenkins agent running on a Mac Mini that will connect to the Master instance in AWS using JNLP. I have created a Network Load Balancer that listens on port 50000 and forwards ...
0
votes
1answer
25 views

Unable to setup Jenkins slave on docker

I'm trying to create slave on docker by using the below command but it returned exception :~$ docker run jenkins/jnlp-slave -disableHttpsCertValidation -url https://hostName/CI-KINDLE-1924 ...
1
vote
1answer
28 views

Can Jenkins running on linux build and deploy standard .Net framework code?

I believe standard .Net framework code cannot be built on Linux so I think we cannot build and deploy standard .Net framework code (not .Net core) using Jenkins running on Linux. Is there anyway to ...
0
votes
1answer
195 views

JNPL 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 ...
0
votes
0answers
24 views

Not able to execute Ant build tool on Jenkins slave

I want to execute Ant on Jenkins Slave machine using Jenkinsfile. I tried configuring Ant tool on slave machine but no success. Please see attached file and code for the reference. pipeline { ...
2
votes
0answers
57 views

Jenkins Slave on Windows dropping connection

I have a Jenkins slave running on Windows 2019 server machine. It connects to master fo while but after few seconds connections drops with this log message: Apr 16, 2019 10:28:54 AM hudson.remoting....
1
vote
0answers
23 views

Jenkins Docker EC2 Plugin Parallel Jobs

We have Jenkins configured on AWS based primarily on the setup described here. As part of that configuration, we are using the Amazon EC2 Container Service Plugin to provision build agents on demand. ...
0
votes
0answers
76 views

Jenkins slave service remains stopped after restart

I have two windows machines, one with Jenkins master and one Jenkins slave. On both machines Jenkins is installed as a service and the slave is configured to be taken offline after 300 minutes of ...
0
votes
0answers
29 views

How to launch and register a temporary jenkins slave remotely and then unregister at the end of the job?

As a part of a pipeline job, I would like to launching a Jenkins slave into a SLURM cluster. Once the Jenkins slave is ready, the next stage of the job should execute on the slave as the "Test" stage. ...
1
vote
1answer
116 views

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 ...
1
vote
1answer
283 views

Jenkins build faild on slave node with `java.io.EOFException`

The stacktrace is below: Evacuated stdout Starting Selenium nodes on ci2 March 18, 2019 11:04:00 AM org.jenkinsci.remoting.util.AnonymousClassWarnings warn WARN: Attempt to (de-)serialize ...
0
votes
0answers
9 views

Jenkins agent login?

I am new to Jenkins, I want to setup ssh connection between my local & Jenkins slave, My Jenkins slave ip is like 10.1xx.xxx.xxx ! How can I log-in into slave machine & set an passwordless ...
0
votes
0answers
220 views

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 ...
1
vote
0answers
54 views

Jenkins remote executors are disconnecting frequently

I am trying to setup 4 RHEL machines in jenkins as build executors. But the systems are getting disconnected so frequently. I have checked the following points already. Still no luck Network problems ...
1
vote
1answer
300 views

Jenkins slave in docker unable to connect using JNLP4

I'm having an issue with one of my docker containers connecting to my jenkins master. This used to work fine for several months but something must have changed either in Jenkins or our corporate ...
0
votes
0answers
15 views

How to use promoted builds for dev and prod windows slave nodes

I am using master jenkins in linux machine. challenge is, i couldn't able to deploy artifacts into windows slave nodes dev and prod using promoted build plugin. is there any other plugin to do ...
0
votes
0answers
25 views

Jenkins - Running on the same slave only if there are no other free slaves

How can I make sure that an already running slave will be executed again only if there no other free slaves available? I have Jenkins configure with 10 slaves. In each slave, there are 15 executers. ...
0
votes
0answers
381 views

How can I use agent docker in a declartive pipeline running on jenkins ssh-slave node?

I am running jenkins master and slave as docker container. I have setup a slave node using jenkins/ssh-slave image with label 'worker'. I can successfully run my pipeline on the worker node. However, ...
1
vote
0answers
438 views

Why I am getting error 'Server rejected the 1 private key' error on setting up ssh-slave docker image

I am running both jenkins master and slave as docker containers by using jenkins/jenkins:lts and jenkins/ssh-slave image on Ubuntu. Following are the steps: Ran ssh-keygen inside the jenkins-master ...
0
votes
1answer
37 views

Jenkins - How to run two Jobs parallelly (1 FT Jobs and 1 Selenium Jobs) on same slave node

I want to run two jobs parallelly on the same Slave. Job 1 is Functional Testing jobs doesn't require Browser and Job 2 is Selenium Job which requires Browser for testing.
1
vote
0answers
132 views

How to configure jenkins slave using Amazon ECS plugin?

I have have created two clusters ECS in the same subnetwork, one for jenkins master and other for jenkins slave(empty cluster). I have installed Amazon ECS plugin on jenkins master but I am not able ...
0
votes
0answers
78 views

TestCafe not working in IE while running through Jenkins slave in windows VM, but working with Chrome and Firefox

"ERROR The IE 11.0.0 / Windows 7.0.0 browser disconnected. This problem may appear when a browser hangs or is closed, or due to network issues." Test Cafe does not work with IE 11 while ...
1
vote
1answer
618 views

Jenkins: Logfile location on slave nodes?

I have a jenkins master-slave setup through JNLP connections. Everything is working fine except I can not find any logs on the slave nodes. There are logs on the master in "$JENKINS-HOME/logs/slaves" ...
0
votes
0answers
22 views

Copy data from Linux slave to windows slave in Jenkins

I have the Jenkins pipeline job, in which I need to copy the required files from Linux slave to windows slave
0
votes
0answers
180 views

Permissions slave node in Jenkins with SSH agent

I have this error when I try to configure a slave node in Jenkins with SSH agent. I'am trying to connect my kvm guest. How can I resolve this [01/10/19 18:37:29] [SSH] Checking java version of /...
0
votes
1answer
94 views

Jenkins slave is not accessing chrome in GUI

I have my selenium automation script running in chrome and it is running through Jenkins. I have two machines in Jenkins, one master, and one slave, both of them are Windows 2012 R2. While running in ...
0
votes
1answer
49 views

Unable to execute the windows bash script on Jenkins slave

As a part of regression testing need to run the bash script on windows machine which actually open the chrome browser and traverse the website and generate the test report. when i try to execute it ...
0
votes
0answers
21 views

How do I test a custom jnlp container for the cloud plugins without create a new cloud on the master?

I dont have an ECS cluster setup yet but I want to test my custom container is working (not using the default jnlp container). Normally running the java command on a static slave works like this: ...
1
vote
1answer
87 views

Running (system/Jenkins) groovy script on slave while accessing build variable

I'm trying to run a groovy script which is updating the build.description during the execution while running a process on a slave node. My problem is that a "system groovy script' executes only on ...
0
votes
0answers
266 views

Jenkins failed to establish SSH connection with the slave

I have been posting questions on jenkins installation and plugins, as i'm new to Jenkins. I have been trying to connect the slave SSH to the Jenkins. But couldn't establish connection between the ...
5
votes
1answer
387 views

jenkins slave on mac directory not accessible

I am trying to start jenkins slave on mac mini with following /Library/LaunchDaemons/com.jenkins.ci.plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD ...
0
votes
1answer
148 views

Jenkins Slave Agent Proxy 407

I have a Jenkins installation on Windows Server which consists auf one master node and two build nodes. Jenkins master as well as the build nodes are running as windows service under a domain service ...
0
votes
1answer
38 views

can a slave plugin ssh to Jenkins on the same server as the Jenkins itself

I'm trying to plugin the slave that is installed in the same server as jenkins, in order to cut, number of separate VM's machine running about. I'm new to jenkins installation, just learning on the go....
0
votes
1answer
179 views

Jenkins Slave Is Shutdown Before “Idle delay” Timeout Not Working

I have a Jenkins Slave configured to start and stop an Azure Ubuntu node. Launch method: Start and stop this node on demand. With a "Start script" and "Stop script" and using "Launch agent agents via ...
0
votes
0answers
20 views

jenkins slave on mac file permission

I have setup jenkins slave agent on mac mini running behind firewall connecting to master (in AWS) through jnlp. When Jenkins pipeline jobs checkout repo all the files in the repo have root owner ...
2
votes
2answers
769 views

How to get a list of Jenkins builds that ran at a particular time?

My current Jenkins has a large number of jobs. Different folders, each with multiple jobs. I recently saw that one Jenkins slave(which is auto-scaled) is sending too many requests to another server at ...
1
vote
1answer
157 views

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 ...
0
votes
0answers
116 views

Setting up Windows Docker container as Jenkins slave for MS Visual Studio C++ development

For building MSVS C++ projects both msbuild.exe and MSVS have to be installed in the container. Is it possible to install both in an unattended way? Can I take the nanoserver image? Or does it have ...
0
votes
0answers
18 views

java test failure on a specific slave

I am encountering an issue with a Maven build job on Jenkins - when it runs on "slave1" it succeeds! when the same job runs on "slave2" it fails a specific test every time... the code is the same ...
1
vote
0answers
1k views

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: ...
0
votes
0answers
47 views

Connecting Jenkins slave to master in Docker contianer

I am setting up a Docker Image as a JNLP slave. This is a static slave with no customizations. My Docker file is: FROM <my-repo>/build/openjdk:latest ARG master ENV JENKINS_MASTER_URL=$master ...
1
vote
0answers
197 views

Character encoding issue on Jenkins Slave

I am using Jenkins in Master Slave configuration using Docker. one of the job is working perfectly on master but upon shifting it to slave it is unable to display file names which contains French ...
2
votes
0answers
299 views

How to persist build directory in workspace while using docker-container as a jenkins-build-slave?

I am using docker containers as jenkins build slaves. All build slaves, jenkins master node are docker containers running on same host. (no different vms) Following is the docker-slave template I am ...
0
votes
0answers
34 views

Completely Host Jenkins build logs on external storage

Everything I see is for backing up build logs to S3 or other external storage locations. Is there a plug-in for actually hosting build logs on those locations? meaning that's just where Jenkins ...
1
vote
1answer
259 views

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 ...
0
votes
0answers
19 views

Jenkins Amazon Cloud slave can't checkout multibranch pipeline repo

I configured ec2 cloud slave on jenkins - when my multibranch pipeline starting it's first checkout the scm when this run on master everything works fine and the checkout success but when it run on ...
0
votes
0answers
16 views

Button click fails on a Jenkins agent

I have a Jenkins Master and three agent instances set up on EC2 instances to execute automation tests. The configuration of all three agents are similar. All three agents can be connected successfully....
0
votes
1answer
883 views

How to execute windows batch file in windows slave agent from jenkins console

I am a newbie wrt jenkins. So I am sorry if this question is so naive. I would like to execute batch file on windows slave agent from jenkins project/job. Please let me know how to achieve the same. ...