Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 committed Jan 8, 2025
1 parent 562e984 commit fc0f0ee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions linux_new/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ def NODE_LABEL = 'build&&linux&&x64&&dockerBuild&&dynamicAzure' // Default node
def PRODUCT = 'temurin'
def JVM = 'hotspot'
def baseURL = "https://github.com/adoptium/"
def artBaseURL = "https://adoptium.jfrog.io/artifactory"
def binaryRepo = "${params.VERSION.replace('jdk', 'temurin')}-binaries/releases/tag/${params.TAG}"
def binaryDLRepo = "${params.VERSION.replace('jdk', 'temurin')}-binaries/releases/download/${params.TAG}"
def fullURL = "${baseURL}/${binaryRepo}"
Expand Down Expand Up @@ -866,8 +867,7 @@ stage('Build & Archive Package') {
for (AlpPackFile in AllFiles) {
def AlpFileName = AlpPackFile.name
def AlpFilePath = AlpPackFile.path
// def Target = "https://adoptium.jfrog.io/artifactory/apk/alpine/main/${arch}/${AlpFileName}"
def Target = "https://adoptium.jfrog.io/artifactory/apk/alpine/main/${AlpArch}"
def Target = "${artBaseURL}/apk/alpine/main/${AlpArch}"
echo "Debug 1000 - Alpine Upload Debugging"
echo "Target = ${Target}"
echo "Distro = ${AlpDistro}"
Expand All @@ -891,7 +891,7 @@ stage('Build & Archive Package') {
for (DebPackFile in DebPackFiles) {
DebFileName = DebPackFile.name
def DebFilePath = DebPackFile.path
DebTarget = "https://adoptium.jfrog.io/artifactory/deb/pool/main/t/temurin-${Release}"
DebTarget = "${artBaseURL}/deb/pool/main/t/temurin-${Release}"
echo "Debug 1001 - Debian Upload Debugging"
echo "Target = ${DebTarget}"
// echo "Distro = ${DebDistro}"
Expand Down Expand Up @@ -927,7 +927,7 @@ stage('Build & Archive Package') {
//
rhel_distros.each { rhel_distro ->
RHELkey = "${rhel_distro}/${RHELarchitecture}"
RHELTarget = "https://adoptium.jfrog.io/artifactory/${RHELkey}/Packages"
RHELTarget = "${artBaseURL}/${RHELkey}/Packages"
CheckAndUpload(RHELTarget, RHELDistro, RHELarchitecture, '', '', '', RHELTarget, RHELkey, RHELFilePath)
}
// RHELTarget = "https://adoptium.jfrog.io/artifactory/"
Expand Down

0 comments on commit fc0f0ee

Please sign in to comment.