Skip to content

Commit

Permalink
Use cached tarball of build workspace to speed up prototyping
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 4, 2024
1 parent b0233fc commit 45258f0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pipelines/build/common/openjdk_build_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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 == "") {
Expand Down

0 comments on commit 45258f0

Please sign in to comment.