From 45258f0f750fe311b3605abca02af2b53fcebbe4 Mon Sep 17 00:00:00 2001 From: Stewart X Addison Date: Tue, 3 Sep 2024 18:04:16 +0100 Subject: [PATCH] Use cached tarball of build workspace to speed up prototyping Signed-off-by: Stewart X Addison --- pipelines/build/common/openjdk_build_pipeline.groovy | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pipelines/build/common/openjdk_build_pipeline.groovy b/pipelines/build/common/openjdk_build_pipeline.groovy index 3a4f616cf..5ade0fcd6 100644 --- a/pipelines/build/common/openjdk_build_pipeline.groovy +++ b/pipelines/build/common/openjdk_build_pipeline.groovy @@ -1484,7 +1484,8 @@ class Build { */ def printGitRepoInfo() { context.println 'Checked out repo:' - context.sh(script: 'git status') + context.println 'batable and batted 1487 windbld #286-288' + context.bat(script: 'git status') context.println 'Checked out HEAD commit SHA:' // windbld#245 context.bat(script: 'git rev-parse HEAD') @@ -1641,7 +1642,8 @@ class Build { context.withEnv(['BUILD_ARGS=' + signBuildArgs]) { context.println 'Building an exploded image for signing' // windbld#254 - context.bat(script: "bash ./${ADOPT_DEFAULTS_JSON['scriptDirectories']['buildfarm']}") +// context.bat(script: "bash ./${ADOPT_DEFAULTS_JSON['scriptDirectories']['buildfarm']}") + context.bat(script: "bash -c 'curl https://ci.adoptium.net/userContent/windows/openjdk-cached-workspace.tar.gz | tar -C /cygdrive/c/workspace/openjdk-build -xpzf -'") } def base_path = build_path if (openjdk_build_dir_arg == "") {