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
3
votes
1 answer

Jenkins agent incorrect PATH environment variable

I'm using a remote agent/slave to build my project in Jenkins via SSH. Although the correct PATH environment variable is available when SSH'ing to it with the same user, it's not available when Jenkins tries to use the agent for building. With the…
dumazy
  • 13,857
  • 12
  • 66
  • 113
3
votes
1 answer

How to define pod with yaml in jenkinsci/kubernetes-plugin

I am using the this plugin to run dynamic agents in a Kubernetes cluster, jenkinsci/kubernetes-plugin and so far everything is going great except for when I try and use the feature available for defining slave pods in yaml format. Unfortunately,…
3
votes
2 answers

How to delete offline (slave/nodes) from Jenkins in SWARM mode

How do I delete a node from Jenkins? Jenkins operates in Docker Swarm mode. When I am trying to remove the offline container, swarm keeps generating new containers
3
votes
1 answer

Jenkins SSH-authenticated node on non-standard port

Is it possible to configure a Jenkins ssh node (slave) to authenticate on a port which is different than 22? After choosing “Launch method” to be “Launch slave agents via SSH”, it is possible to enter the host on which we want to configure node.…
crusty
  • 151
  • 4
  • 14
3
votes
1 answer

Jenkins pipeline agent with label or node call slave node?

Someone ask about how to create an agent and it create a slave node (here), and I don't know if it's true or no : agent { label 'my-defined-label' } and agent { node { label 'my-defined-label' customWorkspace '/some/other/path' …
flopic
  • 1,039
  • 4
  • 10
  • 14
3
votes
1 answer

Jenkins Slave Connection Timeout When Connecting

Last week I set up a selenium grid using jenkins and 4 slave windows VMs. As part of doing this I had to unblock ports for both the slave connection and the selenium connection. The vms downloaded the jnlp starter and registered correctly and by…
Driver
  • 317
  • 1
  • 4
  • 18
3
votes
1 answer

Jenkins slave securely connect with jenkins master

My jenkins master is secured with https. I launch slave using the launch method Java web start through JNLP. However, since my master is secured, I am not able to establish connection. So I use "Tunnel connection through" option and connect via some…
bmstudy
  • 39
  • 1
  • 4
3
votes
1 answer

Jenkins-SonarRunnerInstallation - Unsupported major.minor version 52.0

I have problem with Jenkins – Execute SonarQube Scanner Build Option. Our Environment details as follows: - Jenkins Master Server OS: Ubuntu-12.04 LTS-64 Bit. - Master Server Jenkins Version: 2.46.2 - SonarQube Scanner Plugin for Jenkins…
user4948798
  • 1,924
  • 4
  • 43
  • 89
3
votes
2 answers

jenkins swarm plugin: Unable to connect to master. Connection refused

I am using jenkins swarm plugin to connect a slave node to a master node. However, it is giving Connection Refused error. I am using docker swarm to deploy this on a multi node cluster. Right now I am testing with a single node setup only and here…
Mandeep Singh
  • 7,674
  • 19
  • 62
  • 104
3
votes
2 answers

Jenkins trigger on-demand slaves in dockers

I'm looking for a way to run Jenkins jobs/build inside Jenkins slaves, dynamically (on-demand) started docker. Attaching schema for visual understanding. What I'm actually looking for and my flow looks like: 1) Triggering Jenkins job…
3
votes
1 answer

Can't create Jenkins Slave

Trying to set up a Jenkins Slave. When I go to Manage Nodes > New Node I only have the option to create a "Permanent Agent". Can someone shed some light on this please?
colin
  • 603
  • 1
  • 7
  • 21
3
votes
0 answers

What is the Jenkins' slave memory footprint?

I am aware of https://wiki.jenkins-ci.org/display/JENKINS/Consideration+for+Large+Scale+Jenkins+Deployment which talks about Large scale deployment and I plan to use Jenkins slaves to run performance benchmarking jobs on machines. But I was…
Kumar Mani
  • 151
  • 2
  • 11
3
votes
1 answer

How to check the executor of a job with the Jenkins API?

I was looking at the jenkins api, specifically around jobs that have been previously executed on my jenkins master. Using the following code: http://host/job//lastBuild/api/json I can see the 'executor' field is 'null' when the job is run…
Tesenka
  • 83
  • 9
2
votes
1 answer

Jenkins - Kubernetes Plugin Agents not deployed to configured cloud

we are currently trying to get our Jenkins to deploy agents in another Kubernetes Cluster (provided via GKE). We have added the new cluster under /configureClouds and are referencing it in the pipeline script via cloud: 'devkube' Cloud…
gunzl1ng3r
  • 21
  • 2
2
votes
1 answer

How is the jenkins slave response time calculated?

My Jenkins slaves are online. It's the response time showing in node list that puzzles me how the response time is calculated. Some response time is higher than 18000ms. some is normal around 50-60ms. I ping'ed from the slave server to jenkins…
Gabriel Wu
  • 1,938
  • 18
  • 30