Jenkins Master Slave Configuration


#1

This is a companion discussion topic for the original entry at https://docs.katalon.com/katalon-studio/videos/jenkins_master_slave_configuration.html

#2

Hi,
In this post you dont explain how configuring the slave node when the code is in git. This example work but it dont work when to use git because the Windows that have Katalon, needs credentials de git. ¿What configurations I would need for work slave node and git?
Regards


#3

you can add git credentials into jenkins credential manager and use it


#4

You could give me detail of the process. I have tried several ways without success.


#5

Can you let me know how much have you completed? PLease share the environment details as well


#6

The structure is as follows:

1.- Linux machine(Jenkins Master) with Git plugin

2.- Job in master jenkins, it uses the plugin git to connect. In this job, it executes the call to the slave node (Windows Machine)

3.- When the slave node executes the comand “git clone” in the Windows machine, this machine shows a window for credentials and, even though I enter the user and password, the result is 401.

Firstly, it shouldn’t show the credentials window beacuse you specify the credentials in the job. But I would like to know if there is any way that the window does not appear and make the connection to git directly.

The only solution I´ve found is to not use the plugin git and instead use the command “clone git” in the shell of the job.


#7

If you are running the job on the slave, then the git clone is executed in jenkins slave machine.ensure you can access git from the jenkins slave.

In order to add the git credentials to -> goto credentials manager and add git credentials.