Hi,
I am facing the following issue when i am calling west build from gitlab runner.
west: unknown command "build"; workspace C:\ncs\v2.5.0 does not define this extension command -- try "west help"
But locally in the server PC, with the same commands I can generate the build.
I am setting the environment path in the terminal as follows before calling the build command,
PATH=C:\ncs\toolchains\c57af46cb7;C:\ncs\toolchains\c57af46cb7\mingw64\bin;C:\ncs\toolchains\c57af46cb7\bin;C:\ncs\toolchains\c57af46cb7\opt\bin;C:\ncs\toolchains\c57af46cb7\opt\bin\Scripts;C:\ncs\toolchains\c57af46cb7\opt\nanopb\generator-bin;C:\ncs\toolchains\c57af46cb7\opt\zephyr-sdk\aarch64-zephyr-elf\bin;C:\ncs\toolchains\c57af46cb7\opt\zephyr-sdk\x86_64-zephyr-elf\bin;C:\ncs\toolchains\c57af46cb7\opt\zephyr-sdk\arm-zephyr-eabi\bin;%PATH%
SET PYTHONPATH=C:\ncs\toolchains\c57af46cb7\opt\bin;C:\ncs\toolchains\c57af46cb7\opt\bin\Lib;C:\ncs\toolchains\c57af46cb7\opt\bin\Lib\site-packages
SET ZEPHYR_TOOLCHAIN_VARIANT=zephyr
SET ZEPHYR_SDK_INSTALL_DIR=C:\ncs\toolchains\c57af46cb7\opt\zephyr-sdk
SET ZEPHYR_BASE=C:\ncs\v2.5.0\zephyr
This is the same ncs folder used for my local build.
Also, i am not getting any access issue errors when called from gitlab runner.
Could anyone help me on this issue?
Thanks in advance