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
6
votes
3 answers

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 a particular time. However, I am unable to find…
Amanjeet Singh
  • 323
  • 1
  • 3
  • 8
6
votes
1 answer

How to use multiple labels to select a node in a Jenkins Pipeline script?

Intro: We are currently running a Jenkins master with multiple slave nodes, each of which is currently tagged with a single label (e.g., linux, windows, ...) In our scripted-pipeline scripts (which are defined in a shared library), we currently use…
Markus Weninger
  • 11,931
  • 7
  • 64
  • 137
6
votes
2 answers

Jenkins Git Plugin stalls on 'git rev-list'

Running Jenkins on a Windows Server 2012 slave, jobs are successfully fetching data from Git, served locally (inside firewall) by Bitbucket; its last task is to execute a "git rev-list" on the change it just checked out. This command is taking…
John Elion
  • 1,323
  • 1
  • 16
  • 30
6
votes
2 answers

Run Jenkins master and slave with Docker

I want to setup Jenkins master on server A and slave on server B with use of Docker. Both servers are virtual machines dedicated for Jenkins. Currently I have started Docker container on server A for master, based on the official Jenkins docker…
Ismar Slomic
  • 5,315
  • 6
  • 44
  • 63
6
votes
1 answer

How to control the workspace Jenkins starts the build on?

I have one Jenkins master node and 2 Jenkins slave nodes. All my job builds happen in the slave node. When I configured my slaves, I set the Remote root directory as /data/home/jenkins/jenkins-slave. Also, I give the custom workspace option as…
Müller
  • 973
  • 6
  • 19
  • 38
5
votes
2 answers

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
roy
  • 6,344
  • 24
  • 92
  • 174
5
votes
1 answer

Jenkins Slave Issue - invalid stream header: 099EACED

Jenkins 2.7.4 was installed in the RedHat Server and Linux Slaves is configured by Selecting "Launch agent via execution of command on master" option. We created a Shell script and it works fine in the Jenkins version 2.7.4. Now we upgraded the…
user2439278
  • 1,222
  • 7
  • 41
  • 75
5
votes
4 answers

Jenkins Master-Slave: Key exchange was not finished, connection is closed

I want to connect a slave to Master-Jenkins, but when trying to connect i'm getting following Error: [05/02/18 15:26:59] [SSH] Opening SSH connection to Key exchange was not finished, connection is closed. java.io.IOException: There was a…
Merowinger
  • 111
  • 1
  • 1
  • 6
5
votes
2 answers

Getting 401 Unauthorized error while trying to launch Jenkins slave via command line through JNLP using -secret option

I am trying to launch my Jenkins slave via command line through JNLP, so that I can put the command in the task scheduler. However, I am facing authentication issues only when I use the -secret option with the secret key generated by Jenkins. Works…
Patz
  • 294
  • 4
  • 18
5
votes
2 answers

Skipping a stage in jenkins pipeline without invoking agent?

We use the jenkins pipeline dsl for our job descriptions. Now we have something like that: pipeline { agent none options { timestamps() } environment { //SOME ENV VARS } stages { // more stages stage('stage1'){ …
Taron
  • 1,205
  • 2
  • 13
  • 29
5
votes
0 answers

Jenkins slave running in ECS cluster start container slow

I'm using jenkins slave in AWS ECS cluster, everytimes when I press build, slave container take 3mins to start, how can I speed up this?
Tien Dung Tran
  • 1,127
  • 4
  • 16
  • 32
5
votes
1 answer

Unable to start jenkins slave

When i try to start my jenkins slave, the slave exists with error: [04/14/17 17:22:06] [SSH] Checking java version of java [04/14/17 17:22:06] [SSH] java -version returned 1.7.0_121. [04/14/17 17:22:06] [SSH] Starting sftp client. [04/14/17…
Youri
  • 495
  • 1
  • 4
  • 18
5
votes
1 answer

How to allow slaves to connect to jenkins master without "-secret" jnlp option?

Yesterday, my jenkins master (v 1.646, linux debian Jessie 8.3) was working and several slaves was connecting on it via the jnlp command: java -jar slave.jar -jnlpUrl http://myhost:8080/computer/bob-pc.local/slave-agent.jnlp Now I guess something…
norisknofun
  • 859
  • 1
  • 8
  • 24
5
votes
5 answers

Unable to start SLAVE node in Jenkins

Unable to start SLAVE node in Jenkins. Master machine showing error exception in log file. [12/01/14 16:21:44] [SSH] Opening SSH connection to 10.0.11.120:22. Connection refused: connect ERROR: Unexpected error in launching a slave. This is…
bugCracker
  • 3,656
  • 9
  • 37
  • 58
4
votes
0 answers

How to build docker image when using dynamic docker agent?

How to build the docker images when running docker as jenkins agents for the build. I am trying to understand the different ways we can build the docker images Jenkins Installed on virtual machine - centos 7, on the same machine installed…
dr3662
  • 41
  • 5
1
2
3
18 19