Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherve committed Nov 5, 2023
1 parent f13e90d commit ac090a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/runtime.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ $SUT_IMAGE=Get-SutImage
$SUT_CONTAINER=Get-SutImage
$TEST_TAG=$SUT_IMAGE.Replace('pester-jenkins-', '')

Write-Host "= runtime, SUT_IMAGE: $SUT_IMAGE"
Write-Host "= runtime, SUT_CONTAINER: $SUT_CONTAINER"
Write-Host "= runtime, TEST_TAG: $TEST_TAG"

Describe "[$TEST_TAG] build image" {
BeforeEach {
Push-Location -StackName 'jenkins' -Path "$PSScriptRoot/.."
Expand Down
3 changes: 3 additions & 0 deletions tests/test_helpers.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ function Build-Docker {
$FOLDER = Get-EnvOrDefault 'FOLDER' ''
$FOLDER = $FOLDER.Trim()

Write-Host "= Build-Docker, args: $args"
Write-Host "= Build-Docker, FOLDER: $FOLDER"

if(-not [System.String]::IsNullOrWhiteSpace($env:JENKINS_VERSION)) {
return (Run-Program 'docker.exe' "build --build-arg JENKINS_VERSION=$env:JENKINS_VERSION --build-arg JENKINS_SHA=$env:JENKINS_SHA $args $FOLDER")
}
Expand Down

0 comments on commit ac090a5

Please sign in to comment.