Skip to content

Sample CI/CD pipeline for PowerShell module

License

Notifications You must be signed in to change notification settings

andrewmatveychuk/powershell.sample-module

Repository files navigation

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

Releases

No releases published

Packages

No packages published