From ffcc5676124d148f56e3cc2cd990419ac8fdbb15 Mon Sep 17 00:00:00 2001 From: Stewart X Addison Date: Mon, 19 Aug 2024 15:02:28 +0100 Subject: [PATCH] Fix linter Signed-off-by: Stewart X Addison --- pipelines/build/common/openjdk_build_pipeline.groovy | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pipelines/build/common/openjdk_build_pipeline.groovy b/pipelines/build/common/openjdk_build_pipeline.groovy index 0737dd036..fa449d2ea 100644 --- a/pipelines/build/common/openjdk_build_pipeline.groovy +++ b/pipelines/build/common/openjdk_build_pipeline.groovy @@ -1587,8 +1587,7 @@ class Build { // Perform a git clean outside of checkout to avoid the Jenkins enforced 10 minute timeout // https://github.com/adoptium/infrastucture/issues/1553 if ( buildConfig.TARGET_OS == 'windows' && buildConfig.DOCKER_IMAGE ) { - - context.sh(script: 'git config --global safe.directory $(cygpath ${WORKSPACE})') + context.sh(script: 'git config --global safe.directory $(cygpath ' + '\$' + '{WORKSPACE})') } context.sh(script: 'git clean -fdx') @@ -2213,7 +2212,7 @@ class Build { // Run Smoke Tests and AQA Tests if (enableTests) { if (currentBuild.currentResult != "SUCCESS") { - context.println("[ERROR] Build stages were not successful, not running AQA tests") + context.println('[ERROR] Build stages were not successful, not running AQA tests') } else { try { //Only smoke tests succeed TCK and AQA tests will be triggerred.