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
1
vote
2 answers

Jenkins slave configuration issue in linux

I am facing the below issue please have a look. Thanks in advance. Searching for lokesh in /var/lib/jenkins/.ssh/known_hosts Searching for lokesh:22 in /var/lib/jenkins/.ssh/known_hosts [06/04/20 12:59:45] [SSH] WARNING: No entry currently exists in…
1
vote
0 answers

The orange botton to lunch slave-agent.jnlp is not showing

I tried to download the slave-agent.jnlp file but I can't even find the orange button to download the file. I am only seeing this link below. Java Web Start is not available for the JVM version running Jenkins you can also find an attached…
1
vote
1 answer

What is the meaning of "Projects tied to {node}" in Jenkins?

I created a Jenkins node / agent / slave and use it for a pipeline. On the node's page there is a list "Projects tied to mynode". What does this mean? When is a project "tied" to a node? Btw.: If "tied to a project" means here, that the node is used…
automatix
  • 14,018
  • 26
  • 105
  • 230
1
vote
1 answer

Jenkins on EKS can't connect to external EC2 server as Jenkins worker-node: ERROR `port:50000 is not reachable`

My main task is to create a Jenkins Node from an EC2 instance/server. Jenkins server it's on EKS deployed via jx $ jx version jx 2.0.818 jenkins x platform 2.0.1376 Kubernetes cluster v1.13.12 kubectl v1.17.0 helm client…
enkicoma
  • 461
  • 4
  • 25
1
vote
1 answer

Jenkins building a job in the slave who have the best requirements that matches my job requirements

I want to set Jenkins to launch the build in the slave who have the best environment requirements. For example I have slave 1 with JDK 7 and the slave 2 with JDK 8 and my job runs on JDK 8. I want Jenkins to building my job on the slave 2…
1
vote
2 answers

error Couldn't find match for "ref:" when running builds using jenkins-slave using docker containers

I'm getting below error when running jenkins CI build in a jenkins-slave using docker containers. error Couldn't find match for "ref:" in…
Mahela Wickramasekara
  • 603
  • 1
  • 11
  • 22
1
vote
1 answer

Trying to setup Windows Jenkins slave, but can't find "Windows Slave" plugin available

Trying to follow https://linuxhowtoguide.blogspot.com/2018/02/how-to-setup-jenkins-slave-on-windows.html to setup Windows Jenkins slave. On that instruction, Windows Slave plugin is specified to be installed, but it is not available from plugin…
1
vote
1 answer

Jenkins connection closed after authentication succesful

Trying to configure linux node to my windows master Jenkins, throwing below error after authentication is succesful SSH connection reports a garbage before a command execution. Check your .bashrc, .profile, and so on to make sure it is quiet. The…
chris
  • 324
  • 3
  • 17
1
vote
1 answer

How to execute CMD command on jenkins windows slave using groovy?

I am trying to execute cmd /c echo hello using groovy on a jenkins slave running on windows. Here is my groovy: node('WINDOWS-SLAVE-1') { def cmd_command = "cmd /c echo hello" cmd_command.execute() } And I can see in the job logs that it…
Davis8988
  • 636
  • 3
  • 7
  • 23
1
vote
0 answers

This node is offline because it uses an old slave.jar

In Jenkins node it is showing This node is offline because it uses an old slave.jar In salve machine, executed javaws http://xxx/computer/xxx/slave-agent.jnlp command which is throwing exception. Jenkin is not upgraded. Other slaves are working…
Amrjc
  • 11
  • 3
1
vote
1 answer

Jenkins Windows slave: No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK

I just setup a new jenkins slave which is running Windows server 2012. I already installed jdk-8u221-windows-x64 and set Java_home, Path like below C:\Users\Administrator>echo %JAVA_HOME% C:\Program…
Tien Dung Tran
  • 1,127
  • 4
  • 16
  • 32
1
vote
1 answer

Create a ssh_jenkins_slave image with JDK12 support

I'm trying to create a custom ssh_slave_plugin docker template with support for JDK12. I've took the reference of the current ssh_jenkins_slave Dockerfile (https://github.com/jenkinsci/docker-ssh-slave/blob/master/Dockerfile). However I'm not able…
João Simas
  • 231
  • 1
  • 4
  • 11
1
vote
0 answers

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 the traffic to the Master instance. The security…
quasar
  • 837
  • 1
  • 10
  • 15
1
vote
1 answer

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 achieve this? Can we add a windows slave to do…
developer
  • 1,401
  • 4
  • 28
  • 73
1
vote
0 answers

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 between master and slave Slave server…
newbie
  • 1,282
  • 3
  • 20
  • 43