Skip to content

Commit 5942b5b

Browse files
committed
(chocolatey#176) Pin Jenkins Package
Pinned jenkins package before new breaking version is released. Also provided reason with link to packages CCR page for code reference Signed-off-by: Ryan Richter <[email protected]>
1 parent 5cf5a2c commit 5942b5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Start-C4bJenkinsSetup.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ process {
3737
. .\scripts\Get-Helpers.ps1
3838

3939
# Install Jenkins
40-
$chocoArgs = @('install', 'jenkins', '-y', "--source='$Source'", '--no-progress')
40+
$chocoArgs = @('install', 'jenkins', '-y', "--source='$Source'", '--no-progress', "--version='2.222.4'", '--pin', "--pin-reason='Future releases of this package will be a breaking change from this pinned version. Please reference the packages code on its source page, https://community.chocolatey.org/packages/jenkins, before unpinning and upgrading.'")
4141
& choco @chocoArgs
4242

4343
Write-Host "Giving Jenkins 30 seconds to complete background setup..." -ForegroundColor Green

0 commit comments

Comments
 (0)