Build a devops pipeline for your Windows servers

Establishing an automated continuous deployment pipeline makes deploying and maintaining Windows infrastructure a breeze

1 2 Page 2
Page 2 of 2

Once started, you can see a real-time look at the PowerShell being executed in the Console view. This provides the status of each of your build scripts and gives you an idea of the progress of your process.

Console view in AppVeyor of PowerShell scripts IDG

Once complete, you'll see the Pester console output showing the results of your tests. But that's not all. Because you've configured your test script to have Pester send an nUnit XML file to AppVeyor, you can view test results by clicking the Tests button in the build view.

Pester test results in AppVeyor IDG

Notice in the screen image that, in this instance, the tests have caught one problem, which is initially displayed as a dropdown that can be clicked on to show the error output. Each block in your Pester tests will have a separate row in this web view.

The devops payoff is worth the learning curve

Setting up even a simple demonstration pipeline like this will take quite a bit of time. Learning new tools and how they interact can be a struggle.

But this work pays off, because you’re setting up infrastructure automation tasks that will save time in the long run. Setting up an automated continuous deployment pipeline like this will not only save you and your team time but also ensure rock-solid code without a second thought.

Let your build system and tests do the work once the latest code commit has been made. You've got enough to worry about just keeping up with development. This is the true value of devops: sending your code out the door automatically at the push of a button.

Related articles

Copyright © 2017 IDG Communications, Inc.

1 2 Page 2
Page 2 of 2
InfoWorld Technology of the Year Awards 2023. Now open for entries!