Skip to content

Commit

Permalink
Build a linux devkit
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Leonard <[email protected]>
  • Loading branch information
andrew-m-leonard committed Mar 4, 2024
1 parent 36e75f4 commit 9612619
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions pipelines/build/common/openjdk_build_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1452,12 +1452,8 @@ class Build {
rm -rf "${WORKSPACE}/devkit"
mkdir -p "${WORKSPACE}/devkit"
cd "${WORKSPACE}/devkit"
if ! curl --fail --silent --show-error -o "devkit.tar.gz" "${devkitUrl}"; then
echo "curl failure"
fi
if ! tar -xf "devkit.tar.gz"; then
echo "tar failure"
fi
curl --fail --silent --show-error -o "devkit.tar.gz" "${devkitUrl}"
tar -xf "devkit.tar.gz"
'''
}

Expand Down Expand Up @@ -1567,6 +1563,7 @@ class Build {
//devkit = downloadDevKit(buildConfig.DEVKIT)
devkit = downloadDevKit("job/jdk21u/job/devkit_jdk21u_aarch64Linux/14/artifact/workspace/devkit-jdk21u-aarch64-linux-gnu.tar.gz")
//}
echo "Devkit arg=" + devkit

// Add platform config path so it can be used if the user doesn't have one
def splitAdoptUrl = ((String)ADOPT_DEFAULTS_JSON['repository']['build_url']) - ('.git').split('/')
Expand Down

0 comments on commit 9612619

Please sign in to comment.