0
votes

I have a VSTS project with GIT as SCM.

I have an on-premise build machine with the VSTS agent configured (says server1).

I have a jenkins server on another on-premise machine (says server2).

The get sources is done on server1. I then use the "Queue Jenkins Job" task to trigger a build with the jenkins project name (project is configured on jenkins server, maybe badly).

But how can the source code moves from server1 to server2 ? How can my jenkins job knows where to find the source code to build ?

1
You can use copy slave plugin for this and copy the files required to master work space.Chandra Sekhar Y

1 Answers

0
votes

You should get the source during Jenkins build tool by using Team Foundation Server Plugin.

If you need to use source files on different server, you can copy files from remote server. Some related threads:

How to copy file from SSH remote host to Jenkins Server

How to copy file from remote host to jenkins server