Updated the cd-*.ps1 scripts

This commit is contained in:
Markus Fleschutz
2025-07-09 14:19:53 +02:00
parent d3e77308a8
commit 51b541e0de
30 changed files with 115 additions and 65 deletions

View File

@ -4,7 +4,7 @@
.DESCRIPTION
This PowerShell script changes the working directory to the Jenkins home directory.
.EXAMPLE
PS> ./cd-jenkins
PS> ./cd-jenkins.ps1
📂C:\Users\Markus\.jenkins entered (has 2 files and 21 folders)
.LINK
https://github.com/fleschutz/PowerShell
@ -12,6 +12,8 @@
Author: Markus Fleschutz | License: CC0
#>
#requires -version 5.1
try {
if (Test-Path "~/.jenkins" -pathType container) {
$path = "~/.jenkins"