<?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>Jenkins and build process in Docker/linux</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69250/jenkins-and-build-process-in-docker-linux</link><description>Hello 
 I&amp;#39;ve seen several places that it is posible to build the project using jenkins, and hook Jenkins to the git repo where our nRF sourcecode resides. 
 Unfortunately, I&amp;#39;m not able to find the documentation. Is this just in my imagination, or is this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Dec 2020 09:54:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69250/jenkins-and-build-process-in-docker-linux" /><item><title>RE: Jenkins and build process in Docker/linux</title><link>https://devzone.nordicsemi.com/thread/284463?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2020 09:54:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99e6a8e7-e288-4cc3-a91c-e6f5f223b18f</guid><dc:creator>Markus Tacker (he/him)</dc:creator><description>&lt;p&gt;It&amp;#39;s been a while since I&amp;#39;ve written this guide. We keep improving the process and the Bifravst project now builds it&amp;#39;s firmware using Docker and GitHub actions:&amp;nbsp;&lt;a href="https://github.com/bifravst/firmware/blob/saga/.github/workflows/build-and-release.yaml#L42-L143"&gt;https://github.com/bifravst/firmware/blob/saga/.github/workflows/build-and-release.yaml#L42-L143&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We also now run tests on real, however this is still experimental:&amp;nbsp;&lt;a href="https://github.com/bifravst/firmware/issues/3"&gt;https://github.com/bifravst/firmware/issues/3&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Jenkins and build process in Docker/linux</title><link>https://devzone.nordicsemi.com/thread/284460?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2020 09:48:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b173620-d14b-4939-986a-4c9b09952cf1</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;I just remembered: We also have these two guides:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/build-ncs-application-firmware-images-using-docker"&gt;Build NCS application firmware images with Docker&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/automate-building-of-hex-files-for-your-nrf-connect-sdk-application-using-circleci"&gt;Automate building of hex files for your NCS application using CircleCI or Github Actions&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Jenkins and build process in Docker/linux</title><link>https://devzone.nordicsemi.com/thread/284366?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2020 14:54:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec77d43c-8fd3-4574-b5be-5f224df31f13</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;I have now talked with our engineers working on our CI system.&lt;/p&gt;
&lt;p&gt;Unfortunately, we do not have any documentation we can share. The system is quite complicated, and wouldn&amp;#39;t necessarily be what you want.&lt;/p&gt;
&lt;p&gt;They also pointed out that Jenkins is quite complicated in general, and that Github actions or Azure pipelines might be better suited to your needs and easier to set up.&lt;/p&gt;
&lt;p&gt;All three (Jenkins, Github actions and Azure) have their own strengths and weaknesses, and we are using a combination of all three.&lt;/p&gt;
&lt;p&gt;In general, there are 4 steps needed to set it up:&lt;/p&gt;
&lt;p&gt;1. Setup Jenkins (or Github actions or Azure) master&lt;/p&gt;
&lt;p&gt;2 Setup Jenkins build slave&lt;/p&gt;
&lt;p&gt;3. Setup toolchain&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Here we are using upstream &lt;a href="https://docs.zephyrproject.org/latest/getting_started/index.html#install-a-toolchain"&gt;Zephyr&amp;#39;s SDK (see the version for Ubuntu)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;4. Write Jenkins pipeline&lt;/p&gt;
&lt;p&gt;Again, sorry for the vague answer. If you have more specific questions, I will try to get you better answers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Jenkins and build process in Docker/linux</title><link>https://devzone.nordicsemi.com/thread/284156?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 16:03:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:801aedc3-c33c-4d2c-b33a-937153aa830d</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;While I don&amp;#39;t have much experience whith these tools myself, I believe that this is what we are doing in our CI.&lt;/p&gt;
&lt;p&gt;A quick look in the sdk-nrf repo finds this file: &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/Jenkinsfile"&gt;https://github.com/nrfconnect/sdk-nrf/blob/master/Jenkinsfile&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So it is not just something you are imagening. Unfortunately, it doesn&amp;#39;t seem like we (or Zephyr) have much documentation on how we have set it up.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll dig through some internal resources and ask our developers tomorrow to see if I can get something together.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>