PowerShell+ 2019 - Jenkins - User Interface for your Powershell tasks by Kirill Kravtsov

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=LxDSSZSU0KE



Duration: 0:00
36 views
1


Jenkins is a tool that will help you to establish a simple, but incredibly functional User Interface for your Powershell code. It is designed to become a single point of entry for every member of your team, and allows you to hide the complexity of Powershell scripts behind a pretty web page.

Powershell is a perfect tool for all kind of scenarios, but very often, when a Powershell script should become a reliable and repeatable IT function (or, simply put, a scheduled job), people are struggling with choosing proper implementation: be it a Windows Scheduler task, a SQL Server Agent job, a script in a shared folder - and all of them seem to have the same exact deficiencies:

Obscurity: only people who implemented them actually know how and when the jobs are running
Logging: the output captured from the jobs is limited and troubleshooting is always a pain
Decentralization: the jobs are disorganized and kept in multiple different spots, complicating the administration.
Workarounds: many (if not all) of the schedulers require workarounds to start a properly parametrized Powershell script: a batch file, a call to powershell.exe with escaped parameter string and so on.

Luckily, there is a very simple yet incredibly functional tool that addresses all of those concerns: Jenkins.
Jenkins is a well known tool that is used for all kinds of automation. Jenkins is highly customizable and will take care of most of the common problems related to setting up jobs. It will ensure a simple yet effective way of scheduling any kind of tasks:

A simple web-interface to interact with all of your jobs
Folders and views to keep your jobs logically organized
Multiple cross-platform execution contexts controlled from a single point of entry
Integration with Source Control repositories - making sure that all of your jobs are using the latest code
Execution history, console output and log files - everything is obtainable within a few mouse clicks
… and many many more

This session will show in details how to:

Create your first Jenkins job that incorporates one or more Powershell tasks
Configure Jenkins agents to execute as different users
Parametrize your jobs to enable others to use the job without changing the code
Configure integration with Git that will download the fresh version of the code every time
Set up schedules and notifications
Check execution history and logs
Enhance your Jenkins experience by using Jenkins plugins

PowerShell Summit videos are recorded on a "best effort" basis. We use a room mic to capture as much room audio as possible, with an emphasis on capturing the speaker. Our recordings are made in a way that minimizes overhead for our speakers and interruptions to our live audience. These recordings are meant to preserve the presentations' information for posterity, and are not intended to be a substitute for attending the Summit in person. These recordings are not intended as professional video training products. We hope you find these videos useful - the equipment used to record these was purchased using generous donations from members of the PowerShell community.




Other Videos By Confreaks


2022-09-06PowerShell+ 2019 - Moving Up the Monitoring Stack by Steven Murawski
2022-09-06PowerShell+ 2019 - Sipping psake: Creating a Build and Release Pipeline for ... by Brandon Olin
2022-09-06PowerShell+ 2019 - Basic To Boss: Customizing Your PowerShell Prompt by Thomas Rayner
2022-09-06PowerShell+ 2019 - Malicious Payloads vs Deep Visibility: A PowerShell Story by Daniel Bohannon
2022-09-06PowerShell+ 2019 - Completely Automate Managing Windows Software...Forever by Daniel Franciscus
2022-09-06PowerShell+ 2019 - Look smarter: deliver your work in Excel by James O'Neill
2022-09-06PowerShell+ 2019 - Turn your logs into actionable data at any scale with AWS by Andrew Pearce
2022-09-06PowerShell+ 2019 - Writing Clustered Applications with Windows PowerShell and... by Tome Tanasovski
2022-09-06PowerShell+ 2019 - PSCache: simple strategies for magnificent performance by Mathias Jessen
2022-09-06PowerShell+ 2019 - "Piping" data between packaged scripts by Paul DeArment Jr
2022-09-06PowerShell+ 2019 - Jenkins - User Interface for your Powershell tasks by Kirill Kravtsov
2022-09-06PowerShell+ 2019 - Finding Performance Bottlenecks with PowerShell by Mike F. Robbins
2022-09-06PowerShell+ 2019 - F5 Declarative Configuration by James Arruda
2022-09-06PowerShell+ 2019 - Monitoring Out, Observability In by Ebru Cucen
2022-09-06PowerShell+ 2019 - Lord of the Configurations by Friedrich Weinmann
2022-09-06PowerShell+ 2019 - Using PowerShell Core to automate application... with Habitat by Matt Wrock
2022-09-06PowerShell+ 2019 - Publishing and Managing Modules in an Internal Repository by Kevin Marquette
2022-09-06PowerShell+ 2019 - PowerShell in Azure Functions by Dongbo Wang & Joey Aiello
2022-09-06PowerShell_ 2019 - The Windows Subsystem for Linux by Tara Raj
2022-09-06PowerShell+ 2019 - Advanced JEA Configurations by James Petty
2022-09-06PowerShell+ 2019 - Automating Active Directory Health Checks by Mike Kanakos