Tag Archives: PowerShell

Invoke-Maven

I’ve slowly been building up a personal module at work that I use in my Jenkins workflows.  One function that I wrote a while ago but didn’t get around to using until yesterday was Invoke-Maven. <# .SYNOPSIS Executes Maven. .DESCRIPTION … Continue reading

Posted in DevOps | Tagged , | Leave a comment

Creating a PowerShell [hashtable] from a Jenkins text parameter

In Jenkins parameters are funky. In fact, the checkbox for “This build is parameterized” is pretty much a lie from a PowerShell standpoint. What is should say is “This build has environment variables created for it” because that is what … Continue reading

Posted in DevOps | Tagged , , | 1 Comment

Converting audio files en masse

We recently got a new (used) family van that has a 40 gig hard drive in the dash to store MP3 files. Problem is, a lot of my audio files were stored as M4A, which the van doesn’t have a … Continue reading

Posted in Programming | Tagged , , , , , | Leave a comment

Multi-threading Maven builds with PowerShell Jobs and a .NET Queue

I was recently given a copy of the script used on our Jenkins server to deploy our Java code base.  My boss wanted to get it working so devs could have a script to compile code on their local sandboxes, … Continue reading

Posted in DevOps, Programming | Tagged , , , , , | 2 Comments

Modifying Chocolatey and Boxstarter packages for internal use

Reference Note:  I wrote this assuming the reader has an understanding of NuGet, Chocolatey, and Boxstarter technologies (because why else would you want to build your own if you didn’t know what is was), but just in case, here are … Continue reading

Posted in DevOps, Enterprise Management | Tagged , , , , , | 1 Comment

Bake your own Chocolatey NuGet repository

INTRO: I recently attended SoCal Code Camp to check out talks on some DevOps tools I’ve been looking into adding to my toolkit (Vagrant and either Chef or Ansible). The talk on Chef was in the second hour and looked … Continue reading

Posted in DevOps, Enterprise Management | Tagged , , , , , , , | 6 Comments

PowerShell Function Run-CommandLine

So in this server build script that I’m working on there are several times when external executables are called, such as when I use the operator to call ICACLS for setting share permissions (& ICACLS.exe $folderName /GRANT $ADObject`:(OI)(CI)$ICACLSpermission). Sometimes calls … Continue reading

Posted in Programming | Tagged , , | Leave a comment