springgitjenkinsgithubintegrate

Jenkins multiproject repository


Hi my project on github looks like :

I tried to connect Jenkins to gateway-server.

enter image description here

If I have Jenkinsfile on main folder(on repo) it is work.

enter image description here

I tried path /Backend/gateway-server, /Backend/gateway-server/, Backend/gateway-server, Backend/gateway-server and no one work.


Solution

  • Try first gateway-server, meaning a path Within the currently checked-out repository (Backend)

    That might be enough to sparse-checkout that single folder.