ssainath2 / powershell.sample-module

Sample CI/CD pipeline for PowerShell module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Sample CI/CD pipeline for PowerShell module

License:MIT License


Languages

Language:PowerShell 100.0%