Automate process of uploading apps to IEM with Jenkins.
This application example shows how to create Jenkins CI/CD pipelines to automatically upload applications to the Industrial Edge Management.
The main goal of this example is to show how to setup Jenkins server and create Jenkins pipelines to upload applications to IEM. Jenkins can be integrated with several Git providers but GitHub is used for this example. With GitHub webhook feature it is possible on every commit to the GitHub repository to automatically trigger Jenkins pipeline on a Jenkins server that build, test and upload applications to IEM.
- Installed Industrial Edge Management
- Linux VM (will be used for Jenkins) with docker and docker-compose installed
- VM has connection to IEM
- Industrial Edge Device V 1.1.0-39
- Industrial Edge Management V 1.1.11
- VM - Ubuntu 20.04
- Docker 19.03.13
- Jenkins 2.263.3
The repository is divided into two main directories. The docs folder contains documentation that describes the necessary steps for installation and implementation. The documentation for the installation steps of the Jenkins server can be found here. The documentation for creating Jenkins pipeline using either docker or shell script can be found here. It describes the process of connecting GitHub repository with Jenkins using webhooks and creating Jenkins pipelines to automatically upload the app to a IEM, when code changes get pushed to the repository. The folder is extended by documentation describing implementation of the pipelines which can be found here
The src folder consist source code of Jenkins pipeline implementation using either shell script or docker.
- You can find further documentation and help in the following links
Thanks for your interest in contributing. Anybody is free to report bugs, unclear documentation, and other problems regarding this repository in the Issues section or, even better, is free to propose any changes to this repository using Merge Requests.
Please read the Legal information