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

How to prepare a VHD for Jenkins Azure VM Agents plugin

I have installed Azure VM Agents plugin. I want to use a customized VM image as source. (VM with Visual studio and some other tools installed). There is an option in "Image Configuration" to use "Custom Image URI". How can I prepare a vhd from a…
1
vote
2 answers

Docker Slave Connect to Docker Gitlab | Docker DNS

So I have a bit of a docker network problem that I cannot get to work. I have a compose file for all of my systems. gitlab, sonar, nexus, jenkins live inside this compose file. Containers: prod-gitlab, prod-jenkins, prod-sonar, prod-nexus I have my…
GSUgambit
  • 4,459
  • 6
  • 25
  • 31
1
vote
1 answer

Don't want Jenkins Slave to clone repo?

My system is set up as a Docker Linux PC Master/BeagleBone Linux Slave, connected via USB SSH. Essentially, I'm trying to do the following: Compile code on the master that is taken from a Bitbucket repo. Take the compiled binary and transfer it to…
1
vote
0 answers

Using Docker with Jenkins to spin off slave containers

So I've been trying to follow the riot games tutorial on setting up jenkins with docker to spin off ephemeral containers. https://engineering.riotgames.com/news/jenkins-ephemeral-docker-tutorial The thing is this uses the deprecated docker toolbox…
1
vote
1 answer

Unable to launch new slave in jenkins

Im trying to launch a new slave to my jenkins master and im getting the following error: Linux ip-172-31-40-67 4.9.58-18.55.amzn1.x86_64 #1 SMP Thu Nov 2 04:38:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Installing JDK jdk-8u144-oth-JPR Downloading…
Omri Shneor
  • 965
  • 3
  • 18
  • 34
1
vote
1 answer

Jenkins - slave mac - unable to connect

I have a Jenkins build server (v2.77) installed on a windows server 2016 and I'd like to add a mac as a slave node. I set the node to run via "Java Web Start". On the mac side I downloaded the slave-agent.jnlp file from jenkins, but it doesn't…
Attila Szász
  • 707
  • 4
  • 22
1
vote
0 answers

AWS ec2 + Jenkins master on docker swarm agent

Sorry for confusing you, but I am lost with tones of plugins, info, methods, etc. I will try explain my workflow and what I am trying to do. I got three ec2 instances( Master, node1, node2 ) - in master I got Docker and I did (docker swarm…
enkicoma
  • 461
  • 4
  • 25
1
vote
1 answer

How to lock and unlock jenkins slave with groovy?

How can I lock and unlock jenkins slave? Pseudo code like this. for (slave in hudson.model.Hudson.instance.slaves) { if (slave.getNodeName() == "slave_need_to_be_lock") { Computer c = slave.getComputer(); c.lock(); c.unlock(); } }
1
vote
0 answers

Jenkins build failure due to closed channel Exception

Jenkins version -2.76 Slave jar version -3.11 Master is running on Linux And slave is running on docker container inside the windows machine Whenever I triggered a job for more than 3hours it was failed with the closed channel Exception. At first…
1
vote
1 answer

how to specify jenkins slave git address from jenkins master in jenkins pipeline script

I am trying to use Jenkins master slave architecture for my maven project. I have Jenkins master on windows machine and slave on Linux machine. now the problem is when I run my Jenkins script it gives me an error like unable to init git repositories…
Axata
  • 21
  • 1
  • 4
1
vote
1 answer

Jenkins slave with specific port

I have a main Jenkins server, running on a linux VM, listening on foo.com:9090/jenkins. I need to create a node, on a windows VM, that is inside the same network. I tried to do it using JavaWebStart, but i could not configure it right. I need…
Pedro
  • 81
  • 2
  • 7
1
vote
0 answers

Jenkins windows slaves not launching

Am Using Jenkins, where so many windows machine i have integrated,but at the same all the windows machine got disconnected could not able to launch slave in windows machine,tried all possibilities like 1) slave.jar version upgrade 2)Java_home_path…
Ashif
  • 11
  • 1
  • 4
1
vote
0 answers

Jenkins Distributed Builds: Build Farm for separation of build environments

I currently have one Jenkins master setup for our continuous integration project. Several different projects will need to be built using this Jenkins instance, each with different project dependencies as well as system dependencies. From what I have…
J0991
  • 977
  • 2
  • 9
  • 16
1
vote
1 answer

how to disable build in Jenkins master

I have setup Jenkins slave in AWS ECS, when jenkins have a build job, it will start a container in ECS instance, when the build job completed, the container will be gone. I want to disable build in Jenkins master to force user build in slave. I…
Tien Dung Tran
  • 1,127
  • 4
  • 16
  • 32
1
vote
0 answers

Jenkins Weblogic Deployment Plugin Failed When pointed to slave

Jenkins Weblogic deployment was failed when pointed to Slave with below error. [WeblogicDeploymentPlugin] - Retrieving artifacts recorded [filtered resources on (.*)VODSHM(.*)\.war]... [WeblogicDeploymentPlugin] - the base directory specified…