Irrespective of Devops tool you use the below are the generic steps which would be carried out from
code changes to deployment in environment
Build Pipeline
- Step 1-Preparation of Environment for Build. This includes initializing buildno, commitid, buildname which would be used internally by the devops tool
- Step 2-Build Script for creating artifact
- Step 3-Copy Script for Copying Artifact to Staging Directory. Environment Directory(Directory on which new artifact would be created after build) to Staging Directory(Directory from which artifact would be created to drop location)
- Step 4-Publishing Script – to publish the artifact to DROP location. This is like common place which would be refered by release pipeline
Release Pipeline
- From DROP location the artifact would be picked. For this Trigger should be used.
- Trigger should detect the availability of new release and in which branch should be checked for new release.
- New artifact should be pushed to Deployment Environment(Dev, Testing or Prod). For this push Command should be used
- There should be agent to carry out the above tasks