Skip to content

Commit

Permalink
More testing of booleans
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart X Addison <[email protected]>
  • Loading branch information
sxa committed Sep 9, 2024
1 parent fe1cda2 commit 9dbdad6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pipelines/build/common/openjdk_build_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1056,10 +1056,15 @@ class Build {
/*
Lists and returns any compressed archived or sbom file contents of the top directory of the build node
*/
List<String> listArchives(forceShell) {
List<String> listArchives(Boolean forceShell) {
context.println "SXA: battable and batted 1060 - windbld#273 - forceShell = ${forceShell}"

def files
context.println "forceShell = ${forceShell} / $forceShell"
if ( forceShell ) { context.println("1.FS = true") }
if ( forceShell == true ) { context.println("2.FS = true") }
if ( !forceShell ) { context.println("3.FS = true") }

if ( buildConfig.TARGET_OS == 'windows' && buildConfig.DOCKER_IMAGE && !forceShell ) {
// The grep here removes anything that still contains "*" because nothing matched
files = context.bat(
Expand Down

0 comments on commit 9dbdad6

Please sign in to comment.