All Projects → devblackops → Release-Pipeline-Example

devblackops / Release-Pipeline-Example

Licence: other
Release Pipeline example using PowerShell-based tools

Programming Languages

powershell
5483 projects

About

Author: Brandon Olin [devblackops.io]

Overview

An example of using the Release Pipeline Model with PowerShell-based tools. This repository hosts the ServerInfo.ps1 script which will return system information about a given computer. This repository also includes associated tests and build tasks for day to day operations and deployment of the script.

See Building a Simple Release Pipeline in PowerShell using psake, Pester, and PSDeploy for a detailed walkthrough of this repo.

Usage

A psake script has been created to manage the various operations related to testing and deployment of ServerInfo.ps1

Build Operations

  • Test the script via Pester and Script Analyzer
.\build.ps1
  • Test the script with Pester only
.\build.ps1 -Task Test
  • Test the script with Script Analyzer only
.\build.ps1 -Task Analyze
  • Deploy the script via PSDeploy
.\build.ps1 -Task Deploy
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].