Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 2.7 KB

README.md

File metadata and controls

43 lines (27 loc) · 2.7 KB

powershell.sample-module

A sample CI/CD pipeline for a PowerShell module.

Before starting to work with this sample project, I suggest reading the information in the following blog posts:

Build Status

Build Status

SampleModule package in AMGallery feed in Azure Artifacts

Introduction

This repository contains the source code for a sample PowerShell module along with Azure DevOps pipeline configuration to perform all build, test and publish tasks.

Getting Started

Clone the repository to your local machine and look for project artifacts in the following locations:

Build and Test

This project uses InvokeBuild module to automate build tasks such as running test, performing static code analysis, building the module, etc.

  • To build the module, run: Invoke-Build
  • To see other build options: Invoke-Build ?

Suggested tools