Hi,
I'm new to jenkins and trying to setup CI for our embedded projects.
Some of our projects have multiple repository for things such as SDK, Library, and the actual firmware
They are in a directory as the following :
workspace
└───SDK
├───CompanyFolder
│ ├───Library
│ │
└───.git
│
└───App
│ ├───Firmware2
│
│ └───.git
│
└───Firmware1
│
└───.git
└───.git
From what i understood, to manage different repository like this and checkout in a particular order, we should use pipeline.
I was thinking of using one pipeline for each firmware, that checkout SDK, Library, and the actual firmware.
What we want is when developpers are working in a feature, the can build a firmware with branch parameters on all 3 repository.
In order to that, we did :
- Install git parameters plugin
- Set up multiple repository in the pipeline configuration
- Set up 3 git parameters with "Use repository" filter to each repository url
Then when we try to build from parameters, we end up with "!Not git repository configured in SCM configuration" on 2 of the 3 git parameters.
If i left the "Use repository" field blank, i have the branch from the same repository on all 3 git parameters.
Maybe i don't have the right approach and i shouldn't use those feature to achieve what i want.
Can you guys help to solve my issue or point me in the right direction ?
Regards,
Tony