mkseven32 wrote:
i saw there is a note in the build_example.sh which located in ci directory。
This script exists so that gitlab-ci can build all of the examples without having to build them all on a single job runner (ie it can distribute building lots examples across lots of runners). This is important when building all ESP-IDF examples in our internal CI system, as we have a lot of them.
mkseven32 wrote:
if i want to build only one example which is named by pipeline_bt_sink。
(F:\msys32\home\11022259\esp\esp-adf\examples\player\pipeline_bt_sink)
is that right i using a shell cmd which like below:
Code: Select all
bash build_examples.sh <pipeline_bt_sink>_<1>
If you only want to build one example (or any project), you can tell Jenkins to go into this directory and run "make".
Better, tell it to run "make V=1 BATCH_BUILD=1"
V=1 means you'll get verbose output (this is optional)
BATCH_BUILD=1 means it won't stop and prompt for input under any circumstances.
The build_examples.sh script exists to run make for a large number of examples, across a large number of machines. But each time it just runs "make".