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

How to have all Jenkins slave tasks executed with nice?

We have a number of Jenkins jobs which may get executed over Jenkins slaves. Is it possible to globally set the nice level of Jenkins tasks to make sure that all Jenkins tasks get executed with a higher nice level?
Spacemoose
  • 3,856
  • 1
  • 27
  • 48
2
votes
2 answers

How to store git repo to a specific path in node setup in jenkins?

How to checkout to a specific path in jenkins node setup. I am using ubuntu14.04 and go language. What I have followed is below: Created a jenkins user in my slave machine and created folder called jenkins_slave so, my pwd is…
rameshthoomu
  • 1,234
  • 2
  • 17
  • 33
2
votes
1 answer

jenkins NodeLabel Parameter Plugin default

I currently have two jobs that will run around about the same time to one another. I have two slaves setup, so was hoping that if job #1 starts on slave #1, that when job #2 starts, it would see that slave #1 is busy and use slave #2. I have…
adjuzy
  • 511
  • 2
  • 6
  • 22
2
votes
1 answer

Why Jenkins Slave need java to run slave.jar?

Via SSH slave plugin, we can have Jenkins slave to run specific job, but in my understanding, only SSH is enough to execute commands, why Jenkins still want to run slave.jar(Have to install JAVA)?
zhangyuting
  • 68
  • 1
  • 5
1
vote
0 answers

Connect static agents to dynamic jenkins (Jenkins running in OpenShift)

We are running Jenkins in Open-shift and its fully up and running. Now, when trying to add a static agents we are getting the 404 not found error. Agent startup script: java -jar remoting_dslave.jar -jnlpUrl…
Srinivas
  • 31
  • 1
  • 1
  • 3
1
vote
1 answer

How to run multiple agents (given on runtime) simultaneously with Jenkins Declarative Pipeline?

I'm running a Jenkins Job on multiple platforms selected manually at runtime. Having multi-select Active Choices Parameter named "Platforms" for the relevant nodes. I'm using the following code in Jenkins scripted pipeline: def…
1
vote
1 answer

Unable to connect to Jenkins Agent after upgrade

Upgraded Jenkins from 2.257 to 2.339. After the upgrade none of the nodes are able to connect to the master. Jenkins is hosted on Amazon Linux. This is error I am getting when I try to connect a node to the controller: Logs from Windows Agent…
1
vote
3 answers

Jenkins pipeline: How to get the hostname of the slave

I have two different Linux servers (prod and dev) with different $HOSTNAME and different certificates, which are by default named after the hostname. Now I want to determine within the Jenkins-Pipeline on which host I am and thus use the right…
1
vote
1 answer

Jenkins-slave failing due to jarCache error

I have a jenkins master running in VM and docker running on another VM, I have setup all the required things for making docker as a build-agent for jenkins-master. Now When I am running simple job on docker-build agent, I am getting following…
1
vote
1 answer

Jenkins with Slave - Unable to clone Git repository

The Jenkins are used by the DevOps team and when trying to clone the project using Slave, getting below error. [NO AZURE. NO AWS] it is up and running at one of the servers. Building remotely on ___________ in workspace C:\workspace\_____ using…
KingRaja
  • 154
  • 1
  • 4
1
vote
0 answers

Can 2 Jenkins instance use the same agents (aka slaves)?

I plan for second Jenkins instance tests that our jobs all work with the latest Jenkins and plugins version. Can 2 Jenkins instance use the same agents (aka slaves) ? so there would not be any conflicts/bugs in recent and 1-year-old Jenkins…
Paul Verest
  • 60,022
  • 51
  • 208
  • 332
1
vote
0 answers

Jenkins 2.263.2 Cannot SSH to server from slave node

I just upgraded Jenkins from 2.249.2 to 2.263.2. When I tried to build in slave node, I could not SSH to server by SSH Publishers. Running as SYSTEM [Office365connector] No webhooks to notify [EnvInject] - Loading node environment…
Tien Dung Tran
  • 1,127
  • 4
  • 16
  • 32
1
vote
1 answer

Jenkins Slave Nodes on OCI Won't Deploy

I am trying to deploy Jenkins with the Jenkins Master in OCI and the slave nodes. I am following step by step instructions and videos from Oracle University. However, it fails to deploy slave nodes. The following link looks very similar to the…
1
vote
1 answer

Can a Jenkins Slave be on the same node as the Master?

I am just starting with Jenkins, and I am confused on the Remote root directory, the WorkDir and the Internal data directory, precisely on their full path, including Hostname. The slave is supposed to be on a different node, but I don't see where we…
acmoune
  • 2,981
  • 3
  • 24
  • 41
1
vote
0 answers

Scale Jenkins-slave on Kubernetes

I configured Jenkins on a K8s cluster and setup Jenkins build pipeline. Once build execute It creates the jenkins-slave pod and after the build, the pod will terminate. The use case is basically if all my workers in Jenkins goes full, I want to…
bibincatchme
  • 333
  • 4
  • 10