Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart X Addison <[email protected]>
  • Loading branch information
sxa committed Aug 19, 2024
1 parent 9f60c86 commit ffcc567
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pipelines/build/common/openjdk_build_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit ffcc567

Please sign in to comment.