Skip to content

Automate process of uploading apps to IEM with Jenkins.

License

Notifications You must be signed in to change notification settings

dilekucar/jenkins-cicd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CI/CD pipelines with Jenkins

Automate process of uploading apps to IEM with Jenkins.

Description

Overview

This application example shows how to create Jenkins CI/CD pipelines to automatically upload applications to the Industrial Edge Management.

General task

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.

Requirements

Prerequisites

  • Installed Industrial Edge Management
  • Linux VM (will be used for Jenkins) with docker and docker-compose installed
  • VM has connection to IEM

Used components

  • 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

Installation steps

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.

Documentation

Contribution

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.

Licence & Legal Information

Please read the Legal information

About

Automate process of uploading apps to IEM with Jenkins.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 64.2%
  • Dockerfile 35.8%