<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Issue with west build command, when called from the Gitlab runner</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125697/issue-with-west-build-command-when-called-from-the-gitlab-runner</link><description>Hi, 
 I am facing the following issue when i am calling west build from gitlab runner. 
 west: unknown command &amp;quot;build&amp;quot;; workspace C:\ncs\v2.5.0 does not define this extension command -- try &amp;quot;west help&amp;quot; 
 But locally in the server PC, with the same commands</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Nov 2025 08:12:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125697/issue-with-west-build-command-when-called-from-the-gitlab-runner" /><item><title>RE: Issue with west build command, when called from the Gitlab runner</title><link>https://devzone.nordicsemi.com/thread/555145?ContentTypeID=1</link><pubDate>Mon, 24 Nov 2025 08:12:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c041422f-5024-4350-9022-45f93e6d67fa</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Can you provide additional details about your environment setup and configuration on the runner side?&lt;br /&gt;Do you use containers?&lt;br /&gt;&lt;br /&gt;Have you tried to&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-toolchain-manager/nrfutil-toolchain-manager_0.15.0.html#starting-toolchain-environment"&gt;start toolchain environment&lt;/a&gt;&amp;nbsp;using &amp;quot;nrfutil toolchain-manager launch&amp;quot; command?&lt;br /&gt;&lt;br /&gt;EDIT: You could try to run &amp;quot;west update&amp;quot; in that workspace and see if it completes without errors.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with west build command, when called from the Gitlab runner</title><link>https://devzone.nordicsemi.com/thread/554987?ContentTypeID=1</link><pubDate>Fri, 21 Nov 2025 05:48:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acd3040e-2d33-44fa-b8eb-79fa71f66390</guid><dc:creator>Mariya</dc:creator><description>&lt;p&gt;I have downloaded sdk and toolchain using nrf connect extension in VS Code&lt;br /&gt;&lt;br /&gt;I am using nRF connect sdk version v2.5.0 and toolchain nRF v2.5.0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I am using the following commands to build from git&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;SET PATH=C:\ncs\toolchains\b620d30767;C:\ncs\toolchains\b620d30767\mingw64\bin;C:\ncs\toolchains\b620d30767\bin;C:\ncs\toolchains\b620d30767\opt\bin;C:\ncs\toolchains\b620d30767\opt\bin\Scripts;C:\ncs\toolchains\b620d30767\opt\nanopb\generator-bin;C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\aarch64-zephyr-elf\bin;C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\x86_64-zephyr-elf\bin;C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin;%PATH%&lt;br /&gt;SET PYTHONPATH=C:\ncs\toolchains\b620d30767\opt\bin;C:\ncs\toolchains\b620d30767\opt\bin\Lib;C:\ncs\toolchains\b620d30767\opt\bin\Lib\site-packages&lt;br /&gt;SET ZEPHYR_TOOLCHAIN_VARIANT=zephyr&lt;br /&gt;SET ZEPHYR_SDK_INSTALL_DIR=C:\ncs\toolchains\b620d30767\opt\zephyr-sdk&lt;br /&gt;SET ZEPHYR_BASE=C:\ncs\v2.5.0\zephyr&lt;/p&gt;
&lt;p&gt;echo &amp;quot;env cmd completed successfully&amp;quot;&lt;br /&gt; dir&lt;br /&gt; west build -b nrf5340dk_nrf5340_cpuapp_ns -p always project&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with west build command, when called from the Gitlab runner</title><link>https://devzone.nordicsemi.com/thread/554911?ContentTypeID=1</link><pubDate>Thu, 20 Nov 2025 13:42:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:824f3751-29d0-450a-bc0d-9ab06108ded2</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Can you provide details about your setup and your build configuration?&lt;br /&gt;&lt;br /&gt;How do you include west?&amp;nbsp;What is your configuration on the runner side?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with west build command, when called from the Gitlab runner</title><link>https://devzone.nordicsemi.com/thread/554855?ContentTypeID=1</link><pubDate>Thu, 20 Nov 2025 04:53:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01682778-f40c-48d3-8d50-a405bf82a0e7</guid><dc:creator>Mariya</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am being able to run the projects locally using the same NCS folder(so that verifies there is valid west workspace in NCS right?), but when git runner tries to access the same NCS folder I am getting&lt;br /&gt;&lt;br /&gt;&lt;span&gt;west: unknown command &amp;quot;build&amp;quot;; workspace C:\ncs\v2.5.0 does not define this extension command -- try &amp;quot;west help&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with west build command, when called from the Gitlab runner</title><link>https://devzone.nordicsemi.com/thread/554834?ContentTypeID=1</link><pubDate>Wed, 19 Nov 2025 17:03:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9be54760-47f2-4366-bb4a-842532e83b8b</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Is your west workspace initialized? You can look at&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/develop/west/built-in.html#west-init"&gt;west init&lt;/a&gt;,&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/develop/west/basics.html#west_init_basics"&gt;west init basics&lt;/a&gt;,&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/develop/west/basics.html#west_init_and_west_update"&gt;west init and west update&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/develop/west/built-in.html#west-update"&gt;west update&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You can also look at&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/develop/west/troubleshooting.html#invalid_choice_build_or_flash_etc"&gt;west troubleshooting&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>