๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
Embedded/Embedded Software

Embedded-CI-Lab environment set up...

by aloHyomora 2025. 3. 13.

https://github.com/aloHyomora/Embedded-CI-Lab

 

GitHub - aloHyomora/Embedded-CI-Lab: Embedded firmware development and CI/CD automation for testing on ARM Cortex using QEMU. De

Embedded firmware development and CI/CD automation for testing on ARM Cortex using QEMU. Developing a continuous integration and testing environment for embedded systems with Jenkins, QEMU, and Goo...

github.com


๐Ÿ“Œ 1. Installed & Configured Jenkins

  • Installed Jenkins on Ubuntu and configured it to run on port 8081
  • Installed Git Plugin and GitHub Plugin for GitHub integration

๐Ÿ“Œ 2. Installed QEMU

  • Installed qemu-system-arm, qemu-system-misc packages
  • Verified that QEMU runs correctly

๐Ÿ“Œ 3. Created & Linked GitHub Repository

  • Created the embedded-ci-lab repository
  • Configured GitHub project URL in Jenkins
  • Added GitHub Personal Access Token (PAT) to allow Jenkins to access GitHub

๐Ÿ“Œ 4. Set Up GitHub Webhook & Used ngrok

  • Configured GitHub Webhook to trigger Jenkins builds on code push
  • Used ngrok to expose the local Jenkins server for Webhook testing
  • Updated the Payload URL in GitHub Webhook to use ngrok’s HTTPS address
  • Successfully tested Webhook by using the "Redeliver" option

๐Ÿ“Œ 5. Verified CI/CD Automation

  • Code push to GitHub → Webhook triggered Jenkins build
  • Jenkins automatically executed the first build (it failed, the integration works!)

โœ… Key Achievements So Far:
โœ” Jenkins & QEMU environment successfully set up
โœ” GitHub → Jenkins automation (Webhook integration) confirmed
โœ” First automated build successfully triggered!